/vscode-highlight-bad-chars

Extension to highlight bad characters such as No-break space ( ) and the Greek question mark (;) in your source files.

Primary LanguageTypeScript

Highlight Bad Chars

Extension to highlight bad characters such as No-break space ( ) and the Greek question mark (;) in your source files.

With this package you'll easily notice invisible and easy-to-confuse characters, which can be the cause for incredibly annoying syntax errors in source code.

Save yourself the burden of debugging invisible bugs for hours!

Features

Before

Before using Highlight Bad Chars

After

After using Highlight Bad Chars

Settings

Additional unicode characters can be specified in Visual Studio Code 'Settings'. 'highlight-bad-chars.additionalUnicodeChars' is the setting name array object that is used. To add additional unicode characters, add a new string array value with the unicode character to mark as shown in example below.

    "highlight-bad-chars.additionalUnicodeChars": [
        "\u200E",
        "\u200F"
    ],

highlight-bad-chars-configuration

Credits

Based on the atom package Highlight Bad Chars.