Toggle Pin Editor - Visual Studio Code Extension
This is a simple Visual Studio Code extension that adds a command to toggle the pinning of editor tabs.
Features
- Toggle pinning/unpinning of the active editor tab.
- Easily manage pinned tabs using a custom keyboard shortcut.
Usage
Open a file in Visual Studio Code.
Use the registered command to toggle the pinning of the active editor tab. The extension does not automatically detect keyboard shortcuts.
To use the command, you can:
- Open the command palette by pressing
Ctrl+Shift+P , then type "Open Keyboard Shortcuts" and select the command from the list.
- Assign a custom keyboard shortcut.
[
{
"key": "ctrl+p",
"command": "extension.togglePinEditor"
}
]
Save the file and you can use ctrl+p to toggle pin the text editor.
Installation
Launch Visual Studio Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
Search for "Toggle Pin Editor" and install it.
Feedback and Contributions
If you have any issues, feature requests, or would like to contribute to this extension, please visit the GitHub repository for this project.
License
This extension is licensed under the MIT License.
| |