Questions tagged [vscode-keybinding]

101 questions
2
votes
3 answers

Start new line without breaking current one (Visual Studio Code)

In intelliJ Idea, you can start a new line via Shift+Enter. Is there a shortcut or extension that can add this functionality?
2
votes
2 answers

Running commands on VS Code multiple terminal setup

I am using VS Code with multiple editors and multiple terminals. I ideally would like to run code in the terminal that is currently visible. Using the macros library by geddski I came close to a solution but could not figure out how to finalize the…
Kaan Yolsever
  • 242
  • 2
  • 13
2
votes
0 answers

In VS Code, How to configure / bind `ctrl` + `left-click` to a single key

I am using a gaming mouse with 4 keys. I want to configure my mouse-button 4 to do the same task as ctrl + left-click does ( go to function definition ) I am using ubuntu 20.04 OS. I tried to find the solution on google but did not get any proper…
2
votes
0 answers

command id for maximizing the explorer (or sidebar) in vscode?

Question: How do I maximize either the explorer or the sidebar in vscode? Background: I did not find any command ids for this in either of the documents below. But neither claim to be comprehensive. list of internal commands getting started docs
mkk
  • 879
  • 6
  • 19
1
vote
1 answer

How can I focus the git commit message input in the Source Control View of VS Code with a single keyboard shortcut?

How do I invoke the commit input message box from the Source Control View (using one command/shortcut)? git.commitall invokes a floating commit message window. The reason I want the one in the Source Control is that it provides the commit history…
1
vote
0 answers

What Visual Studio Code command can I use to type text into an **already open and focused** command palette / Quick Open?

The title is really the full question so here's some more context. I'm trying to create a macro in Visual Studio Code that executes a sequence of actions. I'm picking between macros and Commands to do this, but regardless I have the problem where…
Axel G.
  • 13
  • 4
1
vote
1 answer

Shortcut key in visual studio code to view the current editor tab's handle's context menu

Is there a shortcut in visual studio code to open the context menu of the currently open tab's handle? I want to open this menu via shortcut, not by right clicking on it with my mouse. Here is the example: tab menu example There is a shortcut for…
1
vote
2 answers

How can I prevent Visual Studio Code cursor skipping symbols when using CTRL + Left/Right Arrow?

From the position in my screenshot, if I do ctrl+left, the cursor will skip the . symbol. Same for ={, it will skip = symbol. How can I prevent this behavior in VS Code, and not skip that? In JetBrains products, it works like that, and it's really…
1
vote
1 answer

Can I pass a custom text argument to the command palette in vscode?

I would like to setup a custom key binding in vscode that passes @: as an argument (or prefix) to the Command Palette, through the workbench.action.quickOpen command. The @: prefix is meant to show all symbols by category. I essentially want a…
1
vote
1 answer

VSCode smart select grow doesn't honour word separators

In VSCode, items-ce|nter grows to items-[center] when executing the editor.action.smartSelect.grow command; where | represents the cursor and [] represents the selection. Is it possible for this command to honour my word separators (as in…
qlyde
  • 11
  • 2
1
vote
1 answer

VSCode change keybindings global

I use Ctrl+Shift to change keyboard layout in Linux. And all VSCode "Ctrl+Shift+..." keyboard shortcuts don't work. How can I change these keyboard shortcuts to "meta+Shift" at once. It is desirable that extensions installed after this also use this…
s79
  • 11
  • 1
1
vote
1 answer

Is there a VS Code shortcut to open active file in another tab?

All I've been able to find is cmd + K O, which opens the active file in another window. Searching for a keyboard shortcut to open the active file in a new tab in a split window. I want to start with one tab open with index.js, and end up with two…
1
vote
2 answers

VScode rejects keyboard shortcut CTRL + ù

I am working on OS Ubuntu 22.04 running inside a Virtualbox VM hosted in a windows 10 OS. Inside the VM, it seems that my VScode has reset some of the user-defined keyboard shortcuts I have previously set. So I want to re-define them. I want to…
1
vote
1 answer

How to keybind specific Emmet wrap with abbreviation commands in VS Code?

I have been using the Emmet Wrap with Abbreviation recently and am looking for ways to streamline my process. In particular I am looking for a way to add keybinds for particular Warp abbreviations. The current process is receiving a plain text sheet…
1
vote
0 answers

VS Code Keybinding Command to create a new PYTHON file

I had Ctrl+N Ctrl+P bound to the command Python:createNewFile but it stopped working after a recent VSCode update (I believe, not sure if it was something else). Does anyone know the VSCode key binding command to create a new Python file? Ctrl+N…
Abhi O.
  • 141
  • 1
  • 8