Ctrl+P
Cisco IOS-XR Syntax Highlighting for Visual Studio Code
Install the extension with VSCode
Save a file with the .xr extension and open with VSCode
.xr
GitHub Repo