https://code.visualstudio.com/docs/languages/css
None of the current plugin able to do so. I am really surprised. even intellij has this support!
Also the reply from vscode itself is a bit not helpful either. https://github.com/Microsoft/vscode/issues/36485
Any hint on how to build such plugin, seems shouldn't be really hard since its really just porting the feature from one file extension to another?
Anyone able to resolve this?
Hover over the "VS Color Picker" extension, towards the right a settings symbol will show, click on it and a "Keyboard Shortcut" window will be opened, inside this new window you will find the "VS Color Picker" extension, double-click on it, and you will see a pop-up box requesting you to input your desired shortcut ...
In Visual Studio Code, use Ctrl + Shift + P and type settings. json to the field that shows up. After you type it, it should give you the settings.
The reason is to show you that there is an error in the file. More information on this can be found here: VSCode Issues 782. As you can see here, the file appears red when something in the file is an error. This type of information is considered to be file-decorations .
I found colorize which can highlight JavaScript and TypeScript (among others) GitHub
In your settings.json
in VSCode just add languages you'd like to target:
"colorize.languages": ["typescript", "javascript", "css", "scss"]
To anyone who uses Colorize and wants it to work on their React project (css in js and such):
use
"colorize.languages": ["javascriptreact", "javascript", "css", "scss"]
as apparently "javascriptreact" is needed and not "javascript"
For typescript in react use "javascriptreact".
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