Questions tagged [vscode-keybinding]

101 questions
0
votes
1 answer

Is there anyway to check inactive terminalEditors in when arg in keybindings.json in VScode?

I want to createTerminalEditor if there is no terminalEditor opened yet. Note: I'm talking about terminalEditor and not terminal. So, I'm looking for a when arg which says something like editorAlreadyExists != terminalEditor, just like there is…
user13172816
0
votes
1 answer

How to detect if an editor is a markdown preview?

Command markdown.showSource shows the source code of a markdown preview, how to write the When condition so that markdown.showSource only triggers when the active editor is indeed a markdown preview?
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
0
votes
0 answers

Vscode keybinding when language is html in php and preceding text match regexp

I'm trying to move from sublime to vscode, and can't get how to move some of my keybindigs. One of them is "=" which inserts when I'm editing html code in php files. What is more in sublime I've configure it to match some preceding text so…
0
votes
1 answer

What're the differences between commands with/without the `default:` prefix?

List of commands with the default: prefix: default:compositionEnd default:compositionStart default:compositionType default:cut default:paste default:redo default:replacePreviousChar default:type default:undo And they all have a version that…
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
0
votes
1 answer

What does command `settings.action.editFocusedSetting` do?

I've tried this command in the settings UI/JSON split editor, but it doesn't seem to do anything, does anyone know the purpose of it?
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
0
votes
1 answer

Within Visual Studio Code, what is the difference between a jupyter notebook and a notebook?

I have recently switched to Visual Code for Python coding and attempted to change keybindings. However, I came cross two seemingly different but yet similar keybindings: "Jupyter: Run Current Cell And Advance" and "Notebook: Execute Notebook Cell…
0
votes
1 answer

How to construct the `When` condition for joining terminals?

Command for joining terminals: workbench.action.terminal.joinInstance. Necessary conditions I can think of: Terminal tabs are focused. Two or more terminals are selected in the terminal tabs. The best I came up with is: terminalProcessSupported &&…
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
0
votes
1 answer

VsCode multiple cursor on same variable

VsCode has a command (ctrl+alt+l as shown here) to select all occurrences of the word in a file. It's also possible for the rename symbol. But is there a way to select only occurrences of the same variable ? In this example would like to be able to…
Izaya
  • 1,270
  • 2
  • 13
  • 31
-1
votes
0 answers

VSCode `Command + X` cutting no matter what it is set to

I am trying to use emacs keybindings in VSCode on a MacBook Pro (Ventura). I won't go through the entire process and issues I've had, but the end result is that it seems impossible to override the "Cut" option in VSCode on Mac. I've removed ALL…
Isaac Wolf
  • 317
  • 2
  • 9
-1
votes
1 answer

Keyboard shortcut for making VS Code Explorer or other Views fullscreen?

We can toggle the VS Code Explorer's visibility with ctrl/cmd+b. Is there a way to toggle it so it becomes full screen using a keyboard shortcut?
Ole
  • 41,793
  • 59
  • 191
  • 359
1 2 3 4 5 6
7