Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-akara/vscode-extension-fold
VS Code extension adding multiple document fold commands
https://github.com/d-akara/vscode-extension-fold
Last synced: 3 months ago
JSON representation
VS Code extension adding multiple document fold commands
- Host: GitHub
- URL: https://github.com/d-akara/vscode-extension-fold
- Owner: d-akara
- Created: 2017-03-19T14:12:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T21:43:03.000Z (over 3 years ago)
- Last Synced: 2024-04-10T15:07:41.597Z (10 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.84 MB
- Stars: 24
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome - vscode-extension-fold - VS Code extension adding multiple document fold commands (TypeScript)
README
# Fold Plus
![ScreenShot](fold-plus-banner.png)
Additional Fold Commands for VS Code
![ScreenShot](fold-cursor-selected-keep.gif)
## Toggle Indentation/Language Folding
Toggles between `indentation` and `language` folding. VS Code 1.22 introduced `language` folding which does not support the features of Fold Plus.
This command is provided to easily toggle between each mode.
## Fold All Same Level as Cursor
Determines the level of the line with the active cursor and executes a fold of the entire document at that level.
## Fold All Same Level as Parent
Determines the level of the parent line of the active cursor and executes a fold of the entire document at that level.
## Fold All with Selected Text
Folds the entire document matching the selected text or the word under the cursor.
## Fold All keep Selected Text
Folds the entire document except sections with text matching current selection or current word under the cursor.
## Fold All keep Cursor Line
Folds the entire document except the current line with cursor.
## Fold Parent
Fold parent of current line
## Fold Children
Fold all children of current line
## Unfold All Lines Matching...
Unfold all lines matching a regex
## Unfold All Same Level as Cursor
Unfold all lines same level as cursor line
## Unfold All with Selected Text
Unfold all lines containing the current selected text