Home > Software engineering >  In the indent-rainbow extension, I want to exclude JS and JSX files
In the indent-rainbow extension, I want to exclude JS and JSX files

Time:06-07

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:

img

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). enter image description here

  • Related