Questions tagged [vscode-keybinding]

101 questions
0
votes
3 answers

Open selected file by path from within the VS Code editor in a new Tab

I have an absolute path to a file (/path_to_file/file.file) embedded in my code, which is open in the VS Code editor. I want to create a shortcut to quickly open this file by either just clicking on the path or highlighting the path and pressing a…
benjamin
  • 1
  • 1
0
votes
2 answers

Why doesn't my workbench.action.togglePanel VS Code keyboard shortcut toggle back to the editor from the terminal?

Here is my problem: I want to use the Ctrl J shortcut to switch between editing a file and writing in the terminal. I have this keybinding: { "key": "ctrl+j", "command": "workbench.action.togglePanel", }, I can indeed toggle the terminal…
0
votes
1 answer

How can I create a keybinding in VS Code that will run all default launch configurations inside of a workspace?

How to create such keybinding? When opening up a workspace, I want to easily run every service. For each service I have launch configuration configured. Is it possible in vscode to create such keybinding that will go through all services, select the…
comonadd
  • 1,822
  • 1
  • 13
  • 23
0
votes
0 answers

If I have deleted a keyboard shortcut in VS Code, is there any way to get it back?

In the scene to edit my shortcut key to run the cell for notebook i need to change the keyboard shortcut where i change and in order to undo things i clicked remove keybindings instead of reset keybindings and i am not able to find the initial…
0
votes
1 answer

How can I quickly scroll horizontally in VS Code?

For vertical scrolling, I am used to using page up and page down keyboard keys. I also know that I can hold alt to scroll quickly vertically with the scrollwheel / touchpad. Are there analogous actions for scrolling horizontally quickly in VS Code?
starball
  • 20,030
  • 7
  • 43
  • 238
0
votes
1 answer

shortcut to resize explorer panel in visual studio code?

Is there any shortcut to resize explorer panel in VS Code? By the way, I know how to search for keyboards in vs code and I have already implemented some resizing functionalities for terminal, editor panel and other stuff. I specifically wanna know…
0
votes
1 answer

Unable to modify keybinding for cursor related commands of search input box in VSCode

I try to modify keybindings in VSCode and came across a problem when I try to modify cursor related commands for search input box. Following keybinding ctrl+b works well when focus is in the editor text and cursor moves to left as expected. { …
zenprogrammer
  • 623
  • 1
  • 7
  • 20
0
votes
0 answers

Is Toggle Terminal Ctrl + ` , removed from VS code?

I updated vs code and was trying to use Ctrl + ` ,to toggle terminal visibility. It seems to does not work anymore.I don't do any custom keybinding. How do I do reset defaults for all the settings in vs-code? This is weird I updated vscode recently…
0
votes
0 answers

Key bindings are all messed up when using a vncserver running vscode remotely

Many of my keys are mapped incorrectly when accessing vscode through a vncserver (working on mac, operating vscode on a linux server). Keys are mapped fine when using Remote Development. The key mapping issue is specific to VSCode... no other…
Alex
  • 54
  • 4
0
votes
1 answer

How can I write a VS Code keyboard shortcut to close the active workspace if it exists, and otherwise close the whole window?

I would like a keyboard shortcut configuration that does the following: If a workspace folder is not opened, then close VS Code. If a workspace folder is opened, then close the workspace folder. A second press would trigger action #1. How can this…
Igor
  • 2,039
  • 23
  • 27
0
votes
1 answer

How can I add a keybinding to open the active file in the Explorer and move focus to the editor?

I'd like to change the 'o' keybinding when in the file explorer of VS Code. For a directory I'd like to keep the expand/collapse behavior, but for files I'd like the file to open (current behavior) and for the cursor to move to the editor.
Ty Kroll
  • 1,385
  • 12
  • 27
0
votes
1 answer

How can I assign Keybindings for terminal in VS code?

I want certain keyboard shortcuts work for me inside the PowerShell attached to VS Code because while typing commands I figure all the shortcut do not work in this PowerShell. As an example I tried ctrl+backspace to delete left word but it produces…
0
votes
1 answer

Is there a keyboard shortcut command for typing specified text into input boxes (not the editor) in VS Code?

I want to write a keybinding to type something into a non-editor input box in VS Code, such as the query editor input box in the Search View or the Editor Find Widget. I tried to use the "type" command like so: { "key": ..., "command":…
starball
  • 20,030
  • 7
  • 43
  • 238
0
votes
1 answer

"command 'agda-mode.input-symbol[BrowseLeft]' not found" error in VSCode everytime I try to browse now with arrow keys

I have no idea what happened. I was doing some Agda work in one window, and I had a C project in another. Restarted VS Code to work on the C project, now every time I try to use arrow keys I get the error message mentioned in the title, and my…
0
votes
0 answers

VSCode does not open the command palette when I run the keyboard shortcut "ctrl+shift+P"

I have windows 11 and vscode. When I want to open the command palette, I usually press "ctrl_left+shift+p" and it opens. But, with the computer I am currently working with, it does not. I understand, that it is possible that this is happening…