Skip to content

Allow ignoring specific strings when validating code #72669

Closed

Description

I couldn't find a duplicate issue or information about this online. What I would like to do is ignore a specific token from code validation / error checking.

1

Everything else shows up properly as not being an error, but this "TTR" text is underlined in red. I already know that this code runs properly, so I would just like to exclude Visual Studio Code from underlining this piece of text in red, so that it is ignored, and I do not have to see these errors when scrolling through the code.

I'm not asking for help for resolving the underlying problem of VS Code not understanding this token. I just want to disable this error from showing up. Perhaps some configuration file where I can put text or tokens to ignore, probably each one on its own line to allow multiple ignores.

Activity

  1. added
    editor-contrib
    on Apr 21, 2019
  2. added
    *caused-by-extension
    on Apr 23, 2019
  3. vscodebot commented on Apr 23, 2019

    @vscodebot

    This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.

    Happy Coding!

  4. locked and limited conversation to collaborators on Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*caused-by-extensioneditor-contrib

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions