vscode-bookmarks
vscode-bookmarks copied to clipboard
[FEATURE] - Document keyboard shortcuts in the README
Those less familiar with Visual Studio Code don't know or remember to use ctrl-shift-p to look up Bookmarks commands and see their associated keybindings, but often instead search online. It would help those people to have the keybindings documented in the README.
As an aside, I don't see the keybinding for "jump to next" when I look it up using ctrl-shift-p in Code. I don't know if that's because of something I did. When I go to the settings for that command, I do see the keybinding.
Hi @brentgti ,
Sometime ago I decided to avoid using (and documenting) shortcut keys on my extensions, basically because:
- Mac uses Cmd instead of Ctrl
- Conflict with OS native shortcuts (like Ctrl + Shift + L in some Linux distros is used to lock session)
- Conflict with different keyboard layout
- VS Code itself and other MS extensions updates and register the same shortcuts
So yes, if you want to know the available shortcuts, you need to open the Command Palette
and filter the commands typing Bookmarks
.
But, I’m open to PRs. The only difference is that instead of adding the shortcuts in the README
file, it should use a similar idea from the VSCode team, which has created a separate documentation for each OS (https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference).
As an aside, I don't see the keybinding for "jump to next"
This is its shortcut definition:
{
"command": "bookmarks.jumpToNext",
"key": "ctrl+alt+l",
"mac": "cmd+alt+l",
"when": "editorTextFocus"
},
It’s probably conflicting with another extension. Open the Keyboard Shortcut
command and look for the shortcut. It should shows you all commands that has this shortcut. If I remember correctly, VS Live Share was one of the extensions that registered the same shortcut keys after a few releases. The Bookmarks extension was released on day one of VS Code 😬 .
Hope this helps
saya belum mengerti peng .gunaan ,akrya malah rusak semua ,total eror
Hi @alefragnani , is there any luck to custom the shortcut?
Hi @amzar96,
You can customize any keyboard shortcut an extension provides. Simply follow the Official documentation.
Hope this helps