Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode remove warnings from problems tab

Im working in a very old Java project (created originally on eclipse) using VSCode and the official plugin for Java. The project has some folders which are not longer used/valid and I hide them because they dont compile neither. I was able to do this using "files.exclude" in settings.json file.

The thing is I dont want to see those problem in my "Problem" tabs. In addition every time I launch my debugger I get a message saying "Build failed, do you want to continue?" which is really annoying.

So, is it possible to hide those problem which belong to my ignored folders ?

Many many thanks,

like image 680
CABascourt Avatar asked Dec 12 '18 20:12

CABascourt


People also ask

How do I get rid of a warning in VS Code?

To disable TypeScript warnings in VS Code, we can set a few options in our VS Code settings to disable them. { //... "typescript. validate. enable": false, "javascript.

How do I get VS Code to ignore a problem?

Press Alt+Enter. From the pop-up menu, select Ignore All Errors in This File.

How do you get rid of yellow lines in VS Code?

“visual studio code à remove yellow lines” Code Answer'sPress Ctrl + H (quick replace). Click "Use Regular Expressions". Click "Replace All". All Blank lines will be deleted.

How do you turn off telemetry in VS Code?

Disable telemetry reporting# telemetryLevel user setting to off . From File > Preferences > Settings (macOS: Code > Preferences > Settings), search for telemetry , and set the Telemetry: Telemetry Level setting to off . This will silence all telemetry events from VS Code going forward.


1 Answers

This might be helpful to you. v1.41 is adding the ability to filter the Problems pane to not show errors/warnings/info/current file only/hide excluded files. See https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_41.md#problems-panel

filter problems pane

like image 64
Mark Avatar answered Sep 19 '22 10:09

Mark