Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Character ConversionNew to Visual Studio Code? Get it now.
Character Conversion

Character Conversion

taiyuuki

|
1,258 installs
| (0) | Free
Convert characters to other characters via decorator.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Character Conversion

A custom decorator that convert characters in the code to other characters you like.

Languages: html javascript typescript react vue svelte

Settings

Available Settings Character Default Conversion
characterConversion.arrow => ⇒
characterConversion.equal === and == =
characterConversion.notequal !== and != ≠
characterConversion.notless >= ≧
characterConversion.notmore <= ≦
characterConversion.rules any any

If you don't want to convert a certain character, you can leave it blank.

You can convert any characters by yourself via characterConversion.rules. For Example:

Convert the -> mark to ➝

settings.json

{
    "characterConversion.rules": [
        ["->", "➝"],
    ]
}

The format of each item is [origin, target, group]

  • origin - string - Regex in string format. Note the characters that need to be escaped.
  • target - string - Target characters for conversion.
  • group - number - Regex group that match the characters that should be converted, default is 0.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft