5,600 questions
1
vote
0
answers
35
views
Is it possible to "openFilePreserveFocus" without preview mode on VS Code?
I am currently trying to adopt keyboard shortcuts for frequent tasks, where using
the mouse has become cumbersome.
When writting c and c++, I find myself setting up two tab groups and opening make, .h,...
0
votes
1
answer
42
views
Overriding Browser's Keyboard Shortcuts 2
I would like to override browser's keyboard shortcuts.
I created an Angular Service that listen the 'keydown' event and manage it.
I tried to use stopPropagation(), preventDefault(), ...
1
vote
1
answer
66
views
How to open/close the bottom panel using shortcuts in Qt Creator?
I use Qt Creator 17.0.1.
I want to open and close the bottom panel (the one that shows Issues, Search Results, Application Output, etc.) using keyboard shortcuts:
Which shortcuts can do this?
1
vote
0
answers
37
views
How to bind Ctrl+Y to accept a menu item selection in Visual Studio 2022?
I’m trying to create a custom keybinding in Visual Studio 2022.
Specifically, I want to bind Ctrl+Y so that it works as an alternative to Tab/Enter for confirming a menu selection.
For example, when I ...
0
votes
0
answers
47
views
Can I remap/swap two keys for all keyboard commands (all ctrl, alt, shift, etc combinations) that use these keys, but retain for normal text editing
I have a custom keyboard and I want to map "n", "e", "i", "u" for movement, instead of "b", "n", "f", "p".
I wish to ...
2
votes
0
answers
65
views
How to copy the list from the "Current File" tab in the "Problems" tool window (Alt+6) in Android Studio?
I need to copy the list of validation errors for the currently open file in Android Studio.
I am referring to the Problems tool window (which opens with Alt+6), and specifically the list shown in the ...
-3
votes
1
answer
73
views
How do I save the file using Cmd+S in VSCode Diff View on MacOS?
After the recent update, I can no longer use Cmd+S to save files in the diff view.
Steps to reproduce:
Ctrl+Shift+G
Click a changed file
Edit the file in the editable view of the diff view (right ...
0
votes
1
answer
45
views
How to execute a command sent to the IPython terminal in VSCode?
I'm using VSCode with a keybinding that sends a command to the terminal, where IPython is running (not Jupyter Notebook, just plain IPython in the terminal).
I want to select a line of code (e.g. ...
1
vote
3
answers
3k
views
Collapse all methods in Cursor AI Editor
in other editor we can collapse method with keyboard shortcuts like we used to in VS Code. I want to know how to do that in Cursor AI Editor.
I get some reference from some podcast and other websites. ...
0
votes
0
answers
41
views
How to override CTRL+S, CTRL+N, CTRL+T, CTRL+U key events using hotkeys.js?
I'm trying to override default browser behavior for the following key combinations using the hotkeys.js library:
CTRL+S (save)
CTRL+N (new window)
CTRL+T (new tab)
CTRL+U (view source)
I want to use ...
2
votes
0
answers
40
views
In VSCode is there a way to switch ends in selection?
In VSCode editor (not terminal) while selecting text, usually anchor end will be fixed and expand/shrink happens only from cursor end. Now, is there a operation available in VSCode to switch anchor ...
1
vote
1
answer
95
views
How to Activate the File menu with a keyboard shortcut in Fyne
I have a File menu in my fyne app, I'm running KDE on linux. I can't work out how to add a keyboard shortcut to activate the file menu. I have the following code:
fileMenu := fyne.NewMenu("File&...
6
votes
2
answers
204
views
Ctrl+Break stop working in VB6 (suspect KB5058499)
After applying KB5058499, the Ctrl+Break keyboard shortcut in Visual Basic 6 stopped working (Windows 11 Pro 24H2 26100.4188).
Ctrl+Break is the native shortcut to pause code execution in the VB6 IDE. ...
0
votes
0
answers
31
views
MySQL Workbench keyboard command to change pane in focus?
I'm rather enjoying Workbench but I'd like it better if I didn't have to take my hands off the keyboard. Sometimes I want to type code, sometimes I want to scroll around the schema navigator, and ...
0
votes
1
answer
37
views
How to handle cross-platform keyboard shortcuts with Alt + Z (Windows) / Option + Z (macOS) across different keyboard layouts?
I’m trying to implement a keyboard shortcut that triggers when the user presses:
• Windows/Linux: Alt + Z
• macOS: Option + Z
The problem is with using event.code === 'KeyZ'. It works fine on a ...