A VSCode extension which automatically convert symbols when entering.
在输入文本时自动转换符号的 VSCode 扩展。
Features
Convert full-width characters to half-width characters automatically
Customize symbol converting
Set the filenames with and without replacement enabled
Extension Settings
This extension contributes the following settings:
symbol-converter.include-files: The filenames for which symbol replacement takes effect can have multiple matching patterns. Use * to match any number of arbitrary characters. Example: [\"*.py\", \"*.cpp\"]
symbol-converter.exclude-files: The filenames to be excluded from symbol replacement, used to exclude specific files from the effective filename patterns. Use * to match any number of arbitrary characters. Example: [\"*.md\", \"*.txt\", \"package.json\"]
symbol-converter.rules: Replacement rules. For example, {\"。\": \".\"} means replacing all 。 with .. Multiple rules can be configured.
Install
There are three installation methods:
Search for "Symbol Converter" in VSCode extensions and install it.
In VSCode, use Ctrl+Shift+P to open the Command Panel and enter ext install morningfrog.symbol-converter.
Download the .vsix file in the Release of the repository, then select Install from VISX in the upper right corner of the VSCode extension, and choose the downloaded .vsix file for installation.