Skip to content

Provide command(s) to toggle visibility of entries in hidden items list using the keyboard #61

@CombeeMike

Description

@CombeeMike

Describe the Problem

I'm often in a situation where I'd like to quickly toggle the visibility of an item which is already in the "Hidden items" list. I described my main workflow here in the first section, which might help a little in understanding my use case.

E.g.:

  • I have 3 apps apps/app1, apps/app2 & apps/app3 in my hidden items list and am working on app1 whilst app2 & app3 are currently hidden
  • I need temp access to some file in app2, e.g. to c/p some code etc.

ATM I have to go to the hidden items view, uncheck apps/app2, access the file and then check apps/app2 in the hidden items view.

All of this is basically possible using keyboard only but it's a bit inconvenient and having to change the active view in the sidebar by going to the hidden items view can be distracting b/c afterwards, I actively have to go back to where I was before.

Describe the Solution

Provide a command which is shown in VSCodes Show All Commands (Ctrl+Shift+P or F1) palette.

I'd imagine the following:

Command Toggle hidden items -> Dialog which shows all hidden items (excl. the ones from here 😉)

  • All entries in this dialog are checkmarks (like the existing "Hidden items" view)
  • There's a search bar on top to filter the items in the list which is initially focused

-> User can quickly toggle one or more items in the list w/o having to change the current sidebar view etc.

Alternatives

Alternatively (or additionally) you could provide dedicated commands for each item in the list which wouldn't require the 2nd step (the checkboxes dialog). Something like this:

  • Toggle hidden items
  • Toggle 'apps/app1' visibility to "off"
  • Toggle 'apps/app2' visibility to "on"
  • Toggle 'apps/app3' visibility to "on"

The general Toggle hidden items would be helpful when having to toggle multiple items, the other ones when only toggling one.

Additional Context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions