This Visual Studio Code extension will lint common unicode substitutions when code is copied from various sources such web pages and document editors. Some substitutions such as using an En Dash instead of a Hyphen will pass language linting and then fail to execute.
Lints the below Unicode by default:
Format Document (Alt + Shift + F) is supported for all languages.
Custom linting rules
Linting rules can be added in the user and workspace settings.
Invalid is the character the is be searched for by the linter in the format of a unicode escape sequence.
Note: The extension Unicode code point of current character will help identify the unicode value.
Disable Default linting rules
The default linting rules can be disabled so that you can use your own rules only instead of merging the two.
Disable Auto Document Formatting
Auto document formatting can be disabled to prevent automatic changes to your document.
Disable Auto Document Formatting on Paste
Auto document formatting on pasting can be disabled to prevent automatic changes to your pasted content.
Install from the Marketplace