Vscode: Buttons to hide errors and/or warnings and/or infos in Problems Panel - like in browsers devTools console

Created on 6 Apr 2018  路  18Comments  路  Source: microsoft/vscode

I propose buttons to hide errors and/or warnings and/or infos in Problems Panel - like in browsers devTools console.

error-list feature-request on-testplan

Most helpful comment

This would be very helpful because I'm currently working on migrating a legacy codebase from Javascript to Typescript and frequently see hundreds of warnings (e.g. from TSlint) & errors (e.g. from TS compiler) and it's very helpful to focus on the errors and not the warnings, at least some times.

All 18 comments

This would be very helpful because I'm currently working on migrating a legacy codebase from Javascript to Typescript and frequently see hundreds of warnings (e.g. from TSlint) & errors (e.g. from TS compiler) and it's very helpful to focus on the errors and not the warnings, at least some times.

I've started using VS Code with Java, which displays TODOs as infos, so an ability to easily hide the infos in the Problems Panel would indeed be extremely helpful.

NEED THAT TOO!
currently im working on java projects with vs code, but it keeps warning me (600+ times) that a class does not declare serialVersionUID...

I need this too!!!!

Me too ^-^

Working on a big C# codebase with a similar situation: plenty of warnings I'll eventually clean up, but for now I want to filter/hide those and only see errors. Visual Studio has separate toggles for info, warning, error - that would be a nice pattern here.

I am looking forward to have this!!

This feature is useful also if you are working on legacy code. In my case, I'm adding E4X code in my Javascript file and errors just pop up even though the code is really working upon running it.

this would be VERY useful and without it it's almost impossible to work on a large project

This is very helpful for some python project with special tricks, which cannot be understood by IntelliSence.

need this too.

One of the approaches to filter by type is shown below. Thanks @tfenster for the PR. Please try it out and provide us the feedback.

image

Is it possible to have specific buttons for Errors, Warnings and Infos instead of a dropdown?

As seen below on a "regular" 16:9 1080p monitor theres a lot of unused screenspace left to work with and specific button with a visible toggle state for each type would help avoid missing messages because one has forgotten to reenable all options for this. Visual Studio does do a great job with their implementation.
image

Well, thought about that but not got approved in our UX.

@sandy081 as you know, I would also prefer separate buttons. Would an implementation with a setting "show separate buttons" (default false) have a chance to get past your UX team?

I would probably wait for the feedback before rushing/

sure, I wouldn't do anything before knowing whether it has a chance or not

Maybe to clarify: I would be happy to provide a PR for that

But this filter won't affect errors / warnings / infos counter, which is still pretty annoying.
Btw, I'm using imported classes source files from a book's website which their codebase have some deprecated usage of language standard libraries APIs.

Was this page helpful?
0 / 5 - 0 ratings