In the indent-rainbow extension, I want to exclude JS and JSX files. But after trying all the given instructions in settings.json
, it is not working for me. What langauge name should I give in settings.json
?
settings.json
"indentRainbow.excludedLanguages": ["javascript", "js", "*.jsx", "plaintext"]
Indent-rainbow extension:
CodePudding user response:
The language name in vscode for .jsx files is actually javascriptreact. This is why excludedLanguages doesn't work for you. You can look it up in the language chooser (part inside parenthesis).