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 substitutions by default:
Format Document (Alt + Shift + F) is supported for all languages.
Multiple formatter support
With the 1.33 release of Visual Studio Code multiple document formatters are supported. These cannot be run synchronously but must be triggered separately using Format Document with.
Custom linting rules
Linting rules can be added in the user and workspace settings.
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.
Install from the Marketplace