Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>WordRecolorNew to Visual Studio Code? Get it now.
WordRecolor

WordRecolor

Preston

|
19 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Word Recolor

What

To colorize words that I want

Because vs code does not support custom words coloring

Here I have recolored 'NULL' 'FALSE' 'TRUE' to different distinguishable colors

Alt text

How to

  1. Run the command Word Recolor : activate

How it works

  1. It will generate default.json file in a path
  2. The JSON file can be opened thru the command Word Recolor : Open JSON File
  3. By editting that file, you can make extension to recolor any words to any colors you want
  4. After editting it, just switch between tabs and it will reset the effect.

Commands

  1. Word Recolor : Activate
  • To activate, and actively colorizing the word.
  1. Word Recolor : Deactivate
  • To stop colorizing the word.
  1. Word Recolor : Open JSON Path
  • To open you the path to the JSON file that the extension has generated & used.
  1. Word Recolor : Clear JSON Files
  • Delete all the generated JSON files.
  • It will regenerate the default JSON again when you switch between editors.

How to Write JSON

  1. Note: See jsonFile/plaintext.json for reference.
  2. In case you have overlapping words, like python.json
  • You have "NOT IN" and "IN"
  • Those that should be prioritized should put at top.
  • Eg: "NOT IN" is higher priority than "IN"
  • Hence, put "NOT IN" above of "IN"
  • If you didnt, the word "NOT IN", the "NOT" will be colored to red, and "IN" colored in green.
  • You will see the word has 2 different colors.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft