https://github.com/vikyd/vscode-ext-foldlevel
Additional Fold Commands for VS Code. Like PhpStorm: [`Expand to level | 1, 2, 3, 4 or 5`]
https://github.com/vikyd/vscode-ext-foldlevel
expand extension fold javascript vscode
Last synced: 4 months ago
JSON representation
Additional Fold Commands for VS Code. Like PhpStorm: [`Expand to level | 1, 2, 3, 4 or 5`]
- Host: GitHub
- URL: https://github.com/vikyd/vscode-ext-foldlevel
- Owner: vikyd
- Created: 2018-04-28T01:20:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T06:54:14.000Z (over 2 years ago)
- Last Synced: 2025-06-26T18:07:57.842Z (7 months ago)
- Topics: expand, extension, fold, javascript, vscode
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=vikyd.vscode-fold-level
- Size: 543 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Fold Level
[VSCode Market](https://marketplace.visualstudio.com/items?itemName=vikyd.vscode-fold-level)
Additional Fold Commands by One Step Shortcut.
Like PhpStorm: [`Expand to level | 1, 2, 3, 4 or 5`](https://www.jetbrains.com/help/idea/code-folding.html#folding_menu)

# Usage & Commands
Set shortcuts:
* Press
* Mac: `Command + Shift + p`
* Win: `Ctrl + Shift + p`
* `Open Keyboard Shortcuts File`
* Append:
```json
{
"key": "alt+1",
"command": "vikyd.FoldLevel.level1"
},
{
"key": "alt+2",
"command": "vikyd.FoldLevel.level2"
},
{
"key": "alt+3",
"command": "vikyd.FoldLevel.level3"
},
{
"key": "alt+4",
"command": "vikyd.FoldLevel.level4"
},
{
"key": "alt+5",
"command": "vikyd.FoldLevel.level5"
},
{
"key": "alt+6",
"command": "vikyd.FoldLevel.level6"
},
// ↓ optional
{
"key": "alt+-",
"command": "editor.foldAll"
},
// ↓ optional
{
"key": "alt+=",
"command": "editor.unfoldAll"
}
```
# Thanks
* https://github.com/dakaraphi/vscode-extension-common