Code Monkey home page Code Monkey logo

vscode-highlight-bad-chars's Introduction

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

The default "bad char" decoration style can be configured through the highlight-bad-chars.badCharDecorationStyle and defaults to:

    "highlight-bad-chars.badCharDecorationStyle": {
        "cursor": "crosshair",
        "backgroundColor": "rgba(255,0,0,0.3)",
        "borderWidth": "1px",
        "borderStyle": "solid",
        "borderColor": "rgba(255,0,0,0.6)"
    }

highlight-bad-chars-configuration

Credits

Based on the atom package Highlight Bad Chars.

vscode-highlight-bad-chars's People

Contributors

adimasci avatar jagilber avatar volvofixthis avatar wengerk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.