5,603 questions
0
votes
0
answers
32
views
SwiftUI arrow key keyboard shortcuts don't function for iPad
I would like to use the arrow keys as keyboard shortcuts in an app that I am building for iOS/iPadOS, for the sake of users with a hardware keyboard.
The following code works fine for iPhone, but not ...
0
votes
0
answers
42
views
How to make repeatable chords in VSCode
I have a key binding such as alt+s alt+u. It works when i hold down both keys alt and s, then just press u. But if I press u again, it doesn't repeat; i must release alt and s, then hold them down ...
2
votes
1
answer
104
views
Did Xcode 26 remove the ⇧⌘↩ + hjkl layout shortcut after “Open Quickly”?
Before Xcode 26, I used to be able to:
Press ⇧⌘O to “Open Quickly” and search for a file.
Then hit ⇧⌘↩ (Shift–Command–Return) to open the layout menu.
Use hjkl (vim-style directions) to place the ...
1
vote
1
answer
88
views
What to use instead of KeyboardEvent.keyCode for keyboard shortcuts across different layouts?
I have an application that relies on the deprecated keyCode property for keyboard shortcuts. I need to update my code to use a modern alternative that works consistently regardless of the user's ...
1
vote
0
answers
45
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
46
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
78
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
42
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
49
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
82
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
75
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
56
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
4k
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
48
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
43
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
100
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
221
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
36
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
43
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 ...
0
votes
0
answers
151
views
How to display the Stickers picker from a UITextView?
In both WhatsApp and Telegram there is a button within the UITextView that allows the user to directly display the stickers to send within the chat. I have tried searching online but no luck, does ...
1
vote
1
answer
111
views
How to change Mac OS default shortcut to use that in PyCharm?
I try to switch from Ubuntu to Mac in my Python development. I use and I cannot use shortcut that is used by Mac OS.
For example, show Terminal in PyCharm it's
Command+F12
However this shortcut is ...
0
votes
0
answers
16
views
Using Private Sub in Excel 365 on a Mac with Shortcuts [duplicate]
I need to hide Macros from the Macro list and I've tried making them Private Subs but I want to be able to call the Macro with a short cut. My assigned shortcuts seem to disable when the routine is ...
0
votes
1
answer
48
views
SQL Server Object Explorer, set focus on table from Query
I have setup a connection to my local SQL Server, over the "SQL Server Object Explorer" in Visual Studio.
Is there a way, built in or maybe with an extension, for setting the focus to a ...
0
votes
0
answers
24
views
Selection of the current line with a shortcut in WebStorm (entire line) [duplicate]
I need to select the current line with a shortcut, entire line. I found Shift + Home and Shift + End which works but not precisely how I need it to work. I mean, if the caret is not in the first ...
0
votes
0
answers
42
views
How to select current word in Visual Studio 2022
I have an example file as follow
int OddNumber_1= 1;
int OddNumber_2 = 3;
int OddNumber_3 = 5;
How to select (Keyboard shortcut) "OddNumber" in all three lines at same time and update to &...
0
votes
0
answers
20
views
Open MenuBarExtra window with global keyboard shortcut [duplicate]
I'm developing a menu bar app and this is my code:
@main
struct MyApp: App {
var body: some Scene {
Settings {
SettingsView()
}
...
2
votes
1
answer
377
views
Disable tab key from triggering Copilot's "commit inline suggestion"
I'm using VS Code to edit a file with lots of tabs.
Github Copilot by default binds tab key to the "commit inline suggestion" action.
I want to disable that default keybinding so I don't ...
0
votes
1
answer
70
views
Unable to use/set `ctrl+enter` Shortcut in VS Code
I am unable to either use or re-create the ctrl+enter VS Code shortcut on macOS. Other combinations ending in enter work just fine.
I have tried to:
load VS Code without any extensions through code --...
4
votes
1
answer
131
views
Why does pressing S toggle between menu items rather than flip between multiple menu options?
I have a CRME of a Delphi application with the following menu (i've reproduced this in both Delphi XE6 and Delphi 7):
If you press N, it will run handler for N̲ew.
If you press O, it will run handler ...
0
votes
0
answers
41
views
flutter webOS navigate with arrow key between widgets
I want to make webOS app with Flutter and use this app in TV, I have a List of items, consider 3 rows which are having 10 items each, and all scrollable, I want to move between them by keyboard and ...
1
vote
3
answers
110
views
How do I ignore events that have already been handled for keyboard shortcuts in javascript
When searching for a way to add keyboard shortcuts to websites I typically find solutions like this:
document.addEventListener('keyup', event => {
if (event.key === 'f') {
…
}
});
...
-1
votes
1
answer
98
views
How to trigger Safari App Extension with a option+tab shortcut without a content script and Accessibility permissions?
I have a Safari App Extension which allows users to switch between last open tabs with a shortcut option+tab in the same way it's possible to switch between last open apps with command+tab.
Here is ...
0
votes
0
answers
54
views
How to disable ENTER to run on VS Code Jupyter Interactive Window?
I want the interactive window to behave just like the editor where ENTER inserts a newline and SHIFT+ENTER runs the block.
I found the interactive.execute keyboard shortcut and changed it from ENTER ...
0
votes
1
answer
147
views
How to change Enter, Up, and Down arrow key actions to use multiple radio groups?
I have made an offline decision support tool in a single HTML page.
The page asks a series of Y/N questions, with strictly binary branching, using horizontally arranged radio buttons. Then shows the ...
1
vote
0
answers
95
views
Shurtcut for switching between the tabs on Warp Terminal (MacOS version)
I can't find a way to switching between the tabs on Warp Terminal (MacOS version).
One can use the card coded ^ + Tab
or ^ + Shift + Tab for back switching, but I want to use
Command + ->
and
...
1
vote
2
answers
120
views
How to remap window key press to a shortcut
I would like to use the window key to open an app launcher, which has its own shortcut (alt + space), while also preserving the combination shortcuts (win + 1, win + d, win + tab, etc.).
I have tried ...
0
votes
0
answers
34
views
What is the hotkey to switch between "Elements" etc. pane and "Styles" etc. pane in Chrome Developer Tools?
What is the keyboard shortcut to switch between the top pane which starts with the "Elements" panel, and the next pane which starts with the "Styles" panel, in Chrome Developer ...
1
vote
1
answer
387
views
Pressing `Option` + `Z` in VS Code Mac prints `ˀ` rather than toggling word-wrap [duplicate]
I am setting up a Mac for the first time after coming from Linux.
My primary IDE is VS Code and I used the ALT + z shortcut quite a lot in Linux to toggle word-wrap in files with long lines of code.
...
0
votes
0
answers
231
views
How do I copy and paste text with only keyboard shortcuts from the editor nano in mobaxterm out in Windows 11 environment?
I have MobaXTerm in Windows 11.
How do I copy and paste text with only keyboard shortcuts from nano editor in MobaXTterm to any window in Windows 11?
I want to copy and paste text in file A from nano ...
1
vote
0
answers
153
views
Jupyter Notebook keyboard shortcuts NOT WORKING
I am unable to use shortcut keys in Jupyter Notebook (IPython version 8.27.0; Jupyter Notebook version 7.2.2) anymore. I am running Python 3.12.3 (Conda 25.1.0) on Windows 10 (Build 22621).
For ...
2
votes
1
answer
97
views
Can we use accelerator table to handle multi letter shortcuts like Ctrl + K + C?
I am currently using an accelerator table to handle shortcuts such as Ctrl + A, Alt + B, etc. But I was wondering, is there any possibility I can modify the table to accept multi-letter key ...
0
votes
0
answers
206
views
Logitech - Keys To Go 2 - FN Key
I needed to buy an external keyboard for my Macbook Air, because the old Apple Magic abandoned me.
I opted for the keyboard in question, iPad version, but I noticed that this is not completely ...
6
votes
2
answers
1k
views
Ctrl+C was pressed. Waiting for second key of chord (Visual Studio 2022)
Coming back from hollidays I start up my work computer, start Visual Studio 2022 Professional and all of a sudden Ctrl+C, that I expect to use to copy marked text, now doesn't work as expected.
Insted ...
3
votes
1
answer
105
views
How to open hover links without using a mouse in VS Code with the Vim extension installed?
While programming in JavaScript / TypeScript in VS Code, I often need to follow documentation links of functions, which appear on mouse hover. I want to be able to do this without using a mouse.
Here'...
2
votes
1
answer
744
views
Ctrl+V and Ctrl+Shift+V not working in VS Code
The Ctrl+V and Ctrl+Shift+V keys do not work in VS Code. I changed everything in the hotkeys, but to no avail. I'm using Fedora 41 Hyperland ML4W.
It’s interesting that everything works in the GNOME ...
0
votes
1
answer
1k
views
Ubuntu 24.04 - Keyboard shortcut to change display resolution [closed]
Is it possible to easily change resolution on Ubuntu 24.04 with keyboard shortcuts?
I use some older CAD applications that unfortunately do not scale well to my 5120x2160 res and the small fonts are ...
0
votes
0
answers
65
views
Move cursor to end of line in RStudio
When I press the keyboard shortcut ⌘ + right arrow in RStudio on a Mac, the cursor move to the end of the line (see left hand arrow in attached).
What keyboard shortcut can I use to move the cursor to ...
1
vote
0
answers
488
views
How to troubleshoot and reset keyboard shortcuts in Visual Studio 2019?
In Microsoft Visual Studio Professional 2019, I used to be able to use the Ctrl+Alt+l (small L, not big i) keyboard shortcut to change focus to the Solution Explorer (corresponding to the View....
1
vote
1
answer
59
views
Unable to add user shortcut
After creating my first shortcut, which worked well, I tried to make a new one to move the cursor to the end of the line, but here I faced a problem: the shortcut didn't work.
// Place your key ...
2
votes
2
answers
844
views
Is there a command or keyboard shortcut to request the Copilot suggested commit message in the terminal?
I've seen the sparkle icon in the terminal for adding the suggestion, though this requires two mouse clicks which then pastes into the terminal line
git commit -m "[Copilot suggestion here...].
...