Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>symbol-mapping-conversionNew to Visual Studio Code? Get it now.
symbol-mapping-conversion

symbol-mapping-conversion

simonhe

|
47 installs
| (1) | Free
| Sponsor
symbol-mapping-conversion
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

smc

English | 简体中文

The plug-in for symbol mapping conversion can customize the configuration conversion and the corresponding symbol mapping, configure the effective file type, and can have a bottom bar status switch and shortcut key to control whether the plug-in is enabled.

🚀 Feat

  • We support custom conversion for specific languages. For example, if I am in the rust environment, and rust cannot use ', I want the ' I input to be converted to ". I can use the following method 👇
{
 "symbol-mapping-conversion.mappings": {
    "rust" :{
      "'":"\""
    },
    "base":{
      "cosnt": "const",
      "improt": "import",
      "Bearer ": ""
    }
  }
}

🤔️ Think

  • You can use your imagination, for example: I want to automatically convert to 💰 when I enter money, or automatically convert to ❤️ when I enter the heart, or automatically convert to 😊 when I enter laughter, etc.

  • You can also use it as a solution for input symbols in Chinese and English.

  • Use your imagination and you can do a lot of interesting things.

Base Default

const base = {
  '【': '[',
  '】': ']',
  '(': '(',
  ')': ')',
  '《': '<',
  '》': '>',
  '「': '{',
  '」': '}',
  '¥': '$',
  '……': '^',
  '。': '.',
  ',': ',',
  ':': ':',
  ';': ';',
  '?': '?',
  '!': '!',
  '“': '"',
  '”': '"',
  '‘': '\'',
  '’': '\'',
  '~': '~',
  '·': '`',
}

💪 Power

  • You can control whether to start the plug-in through the switch in the bottom bar.

  • You can control the switch by selecting the Switch the symbol-mapping-conversion bottom status bar command by cmd + shift + p

  • You can configure extLanguage to exclude unwanted processing in these types of files, such as ['vue'], etc.

  • Custom configuration symbol-mapping-conversion.mappings, you can add some rules in settings, for example, you encounter ¥: 💰, love:💗, RMB: 💴, US$:💵

:coffee:

buy me a cup of coffee

License

MIT

Sponsors

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft