in vscode (ide)
how to click this icon, without mouse.
so closed become like this:
and opened like this:
how to click this icon, without mouse.
so closed become like this:
and opened like this:
open the vscode search bar by using CTRL+P
write >shortcut
foldnow you will see in the command column of the table
editor.unfoldeditor.folduse that shortcut you see in the second column, or change it to the more comfortable one
in my case, docs don't show the correct shortcut,
maybe also to you,
so see the first part for finding yours or create a new custom shortcut
the documentation suggests using these shortcuts, so try to use them too...
| shortcut | what it does? |
|---|---|
| CTRL+SHIFT+[ | close |
| CTRL+SHIFT+] | open |
the shortcut you are asking for is called fold/collapse
see here the PDF: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
and search collapse and you will find it!
but in my case seems different,
so if don't work also for you see the first part.