Is there a way to get Visual Studio code (Linux) to highlight custom classes and data types for C++?
I want this so that when I create a function that returns a certain data-type, it will highlight it correctly and help with readability at a glance.
To solve this you can Cmd + Shift + P → "install Extensions" and look for the language you want to add, say "Scala". Find the suitable Syntax package, install it and reload. This will pick up the correct syntax for your files with the predefined extension, i.e. . scala in this case.
C/C++ support for Visual Studio Code is provided by a Microsoft C/C++ extension to enable cross-platform C and C++ development on Windows, Linux, and macOS.
Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.
Here we have the solutions!
vscode cpp team have released a inside builder and can do Syntactic/lexical and semantic colorization
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With