Custom UI Commands is a lightweight Visual Studio Code extension designed to streamline your workflow by introducing specialized, efficient editor and UI utility commands.
Features
Advanced Code Folding Utilities (v1.0.0)
Absolute Folding (Levels 1–7): Instantly fold your document to a specific structural depth from the top down, ignoring cursor placement.
Absolute Recursive Folding (Levels 1–7): Progressively collapse nested blocks from level 7 down to your target level, ensuring inner child blocks remain properly hidden.
(More utility and workflow commands coming in future updates!)
Default Keybindings
Category
Command
Keybinding
Command ID
When
Absolute Fold
Absolute Fold Level [1-7]
Ctrl+Alt+[1-7]
customUiCommands.absoluteFoldLevel[1-7]
editorTextFocus && foldingEnabled
Absolute Recursive Fold
Absolute Recursive Fold Level [1-7]
Ctrl+K Ctrl+Alt+[1-7]
customUiCommands.absoluteRecursiveFoldLevel[1-7]
editorTextFocus && foldingEnabled
Requirements
VS Code 1.74.0 or newer.
Folding enabled in your workspace or user settings (editor.folding: true).