Questions tagged [vscode-keybinding]

101 questions
108
votes
7 answers

How can I trigger the hover info widget in VS Code using commands or a keyboard shortcut?

How to trigger a popup with documentation for identifier under the cursor? Normally it appears when hovering the identifier using the mouse pointer: I would like to achieve this effect using a command or keyboard shortcut. The only related commands…
Robert Zaremba
  • 8,081
  • 7
  • 47
  • 78
13
votes
1 answer

Where can I find the list of shortcuts for Jupyter Notebook in VSCode?

I am using the latest v1.41.1 VSCode version and launching a jupyter notebook within it. I cannot seem to find the standard jupyter notebook keyboard shortcut menu to customize, e.g., the hotkey for cutting or creating a cell. I have looked under…
pcko1
  • 833
  • 12
  • 22
9
votes
2 answers

Why does "Ctrl + R", which is the key bound to "Reload Window" in vscode, doesn't Reload Window?

I'm a new user of vscode. I ran into a problem that I was told would be resolved by "Reload Window". So I first went through the "Command Palette" to find it, and it did fix my problem. However, I noticed that it says it is bound to "Ctrl + R". …
David M. Karr
  • 14,317
  • 20
  • 94
  • 199
5
votes
1 answer

vs code consistent keybindings for Mac and windows with settings sync

I use a windows computer for work and have painstakingly set up many keybindings for common tasks, as well as many other personalizations I really would like to have transferred to my personal computer, which is a Mac. I recently found out about and…
5
votes
2 answers

How to trigger "inline suggestion" in VSCode?

There're two built-in commands for showing "inline suggestion": editor.action.inlineSuggest.showPrevious editor.action.inlineSuggest.showNext I've tried both, but nothing happened, in what circumstance could an inline suggestion be triggered?
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
5
votes
1 answer

VS Code shortcut to stage changes in toggled elements of list

I would like to add a shortcut to stage changes in all files "toggled" in the SCM pane of VS Code. The behavior should be the same as if I clicked on the plus icon of a particular file having multiple files toggled (see picture): I have set the…
4
votes
1 answer

how to reset vscode terminal pane size with keyboard shortcut?

Question How can I assign a keybinding to resize the panel to its default height (ie not min/maximized)? Background Often I need to resize the terminal to see more output, while still leaving enough of the editor viewable to compare…
mkk
  • 879
  • 6
  • 19
4
votes
1 answer

How can I import Visual Studio keybindings into VS Code?

There are several answered questions about importing VS Code keybindings into Visual Studio, but I need to do the opposite. My VS 2019 keyboard scheme (on Windows) is based on the "Visual C++ 6" mapping with additional customizations and I would…
Alex O
  • 1,429
  • 2
  • 13
  • 20
3
votes
1 answer

Getting a command " not found error whenever I press "." (dot/period) key in VS Code 1.78

I'm not pressing any keys with the period key but whenever I press down . key, I get a "" error on the bottom right corner making VS code impossible to work with. How can I resolve this, and why might it be happening? Here's…
Young Kim
  • 33
  • 3
3
votes
1 answer

Keyboard shortcut to move cursor to next Jupyter Notebook cell in VS Code

Is it possible to move the cursor from one script cell to another using a keyboard shortcut using Visual Studio Code i.e. navigating between cells during editing? I only found the possibility to run single cells but not the possibility of moving…
Jorgo
  • 62
  • 5
3
votes
1 answer

What's the difference between `cursorWordPartStartLeft` and `cursorWordPartLeft`?

Tried both, seem to be doing the same thing, could anyone point out the difference?
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
2
votes
2 answers

How can I create a VS Code keyboard shortcut to change a camel-case string to sentence-case?

In VScode I need one shortcut which can split one single string (camel-case) into words with space(s). e.g. getCheckoutCartHelper desired output: Get checkout cart helper Tried to create shortcut in key-binding but nothing.
2
votes
2 answers

How can I keybind opening a new terminal to the right of my current opened files?

Currently I have the below snippet of code that doesn't really seem to do what I want it to do under my vim normal mode keybindings: { "before": ["", "f", "t"], "commands": [ …
Hendrik
  • 175
  • 8
2
votes
1 answer

Difference between "acceptSelectedSuggestion" and "acceptAlternativeSelectedSuggestion" in VSCode keybinding config

I'm configuring keybindings of Visual Studio Code. For accepting suggestions, two keybindings are set by default, but I have no idea why there are acceptAlternativeSelectedSuggestion and acceptSelectedSuggestion as they seem to cause the same…
ywat
  • 2,757
  • 5
  • 24
  • 32
2
votes
1 answer

How do I bind "Enter" to a command in VS Code?

I went to Code->Preferences->Keyboard Shortcuts to bind ENTER to the acceptSelectedSuggestionOnEnter command (somehow my VS Code stopped letting me accept input suggestion by pressing Enter...), but I wasn't able to enter ENTER by pressing it when…
coddd
  • 29
  • 2
1
2 3 4 5 6 7