visual-studio-codevscode-debugger

How do I turn off "Contains emphasized items" in Visual Studio code?


I need to figure out how to turn off emphasized items in Visual Studio Code

This might sound like a strange requirement, but in my workflow vscode functions as less an IDE than a cross-platform ViM-esque frontend with lots of remote development tools built-in.

Due to this use case, I don't need or want the linting features to show up in the file browser. How might I accomplish this?

Attempts to solve the problem

I've run out of search terms here and cannot find an answer.

  1. Searches including terms in this question's title yielded little
  2. SO-specific search queries also yielded little
  3. VSCode "preferences" do not appear to show what I'm looking for, likely an issue with me not searching for the right variable name.

In my experience with VSCode it has been wonderfully customize-able, so I'm guessing there's a setting somewhere ready to be modified to accomplish this.


Solution

  • My use case was a bit different: after viewing some files in a git submodule those files became linted, and errors and warnings cluttered up my VS Code Explorer file browser window on files I had no intention of ever handling. I basically wanted a way to clear out those lint warnings, and found it here. The solution is to reload the window:

    CtrlShiftP on Windows/Linux, āŒ˜ShiftP on Mac -- then select "Developer: Reload Window"

    One by-product of reloading the window is that it clears out those unwanted warnings (at least until the next time I visit the file). It also has the effect of clearing out warnings on files that I would normally want to see, of course, but chances are I'll be visiting those files again soon, so it's fine. Not a perfect solution, but it works for me and my use-case; hopefully it can help others.