Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Filter/group items by type in the problems tab #41114

Closed
sbrw opened this issue Jan 3, 2018 · 10 comments
Closed

Feature request: Filter/group items by type in the problems tab #41114

sbrw opened this issue Jan 3, 2018 · 10 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) error-list Problems view feature-request Request for new features or functionality

Comments

@sbrw
Copy link

sbrw commented Jan 3, 2018

  • Ubuntu 17.10
  • vscode 1.19.1
  • C/C++ 0.14.5

I find it unfortunate to mix intellisense/lint errors and build errors/warnings in the "Problems" tab. I might have several multi-root folders in my workspaces, some with broken intellisense include paths and others without. I would still want to be able to build a single project, and only attend to the build specific compilation errors in the "Problems" tab.

Currently it is annoying to expand/collapse, scroll and search though the interleaved items when solving build errors (compiler/linker/...).

Would it be possible to either:

  • Add an optional filter to exclude items by type in the problem tab
  • Group the items in the problem tab by type
  • Add a specific problem tab for build errors

Possibility to navigate the problem items by type would also be great. For instance by binding keys to next/previous item by type.

Related issues:
microsoft/vscode-cpptools#1398
microsoft/vscode-cpptools#1286
#39604

Thanks!

@vscodebot vscodebot bot added the error-list Problems view label Jan 3, 2018
@sandy081 sandy081 added the feature-request Request for new features or functionality label Jan 8, 2018
@sandy081 sandy081 modified the milestone: Backlog Jan 8, 2018
@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented Jan 9, 2018

Let us know if this ever gets implemented, because I think we would need to change our Diagnostic results to result a "source". VS 2017 allows error list source filter/sorting.

UPDATE: Our next C/C++ release should tag the source as "C/C++", but there doesn't seem to be a way to filter based on that yet.

@aenima1891
Copy link

I'd like this feature too.

@intijk
Copy link

intijk commented Oct 27, 2018

I am same request also.

Also would be good if we could hide also feedback and notification icons on right bottom corner.

@bferg317
Copy link

bferg317 commented Feb 7, 2019

Please do not mark/close this as a duplicate. It's not. The other threads mostly talk about file.exclude; that's not what we want.

We want the ability to show/hide/filter by problem type. I get tons of messages about PowerShell vars being "assigned but never used," because they're used in other scripts that dot-source the definitions. VS Code doesn't realize this and is constantly warning me and green-lining things.

@sean-mcmanus
Copy link
Contributor

@cmcit-bferg The message filtering could implemented by the PowerShell extensions itself. That's on our TODO list for the C/C++ extension.

@voidhofer
Copy link

voidhofer commented Mar 18, 2019

This is a MUST HAVE feature! Implement it ASAP! There should be a toggle button for turning warnings on and off in the editor, not in third party plugins.

@bryceschober
Copy link

FWIW, this is a pretty major pain point. My developer workflow is along the lines of:

  1. Fix all errors (get it to build)
  2. Fix all warnings (get it to build cleanly & inhibit specific warnings we don't care about)
  3. Fix all lower-priority linting / spellchecking before PR

I don't know how I can do that with VS Code, because of its intermixing of categories. All I want is another level to the tree, with all errors before all warnings before all informational items.

@ezekielcodisto
Copy link

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.

@georgesmith2017
Copy link

I know this is not a real fix, but as workaround, type the following in the Problems View filter (top right of the panel): *.tf
This will effectively ignore the .tfvars files. :)

@sandy081
Copy link
Member

sandy081 commented Nov 6, 2019

Agreed that filtering problems by type is a valid request but do not see a good reason for grouping (if given that filtering is supported). Hence this is accepted for filtering and there is an issue already for that. Hence making this a duplicate.

#47354

@sandy081 sandy081 closed this as completed Nov 6, 2019
@sandy081 sandy081 removed this from the Backlog milestone Nov 6, 2019
@sandy081 sandy081 added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 6, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) error-list Problems view feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

10 participants