XCode Show Function Parameters Hotkey

Just discovered Option + Escape by browsing through the XCode Preferences Hotkeys section. It actually lists the parameter info in a tooltip (no other hotkey I’ve seen so far does this!), but isn’t quite as friendly as Visual Studio’s Ctrl+Shift+Space function. For instance, the text selection cursor (caret) must be on the function name (not … Read more

How to change the terminal to the current directory in visual studio code ? (hotkey) [duplicate]

With VSCode 1.39 (Sept. 2019), no more plugin needed. You now can “Open new terminals with custom working directories” There is a new command that allows the creation of terminals with a custom current working directory (cwd): { “key”: “cmd+shift+c”, “command”: “workbench.action.terminal.newWithCwd”, “args”: { “cwd”: “${fileDirname}” } } You can create your own keyboard shortcuts … Read more

Global Hotkey with X11/Xlib

Your program works here. My guess is you have another modifier active, such as NumLock. GrabKey only works on the exact modifier mask. For example here is some (GPL) code from metacity window manager /* Grab/ungrab, ignoring all annoying modifiers like NumLock etc. */ static void meta_change_keygrab (MetaDisplay *display, Window xwindow, gboolean grab, int keysym, … Read more

Hotkey to end the line with a semicolon and jump to a new line in Sublime Text 2

Best solution for this is recording a macro on Sublime Text and then assigning it to a keyboard shortcut. Follow these steps: Create a line such as alert(‘hello’) and leave the cursor right after letter ‘o’. Then go to Tools > Record a Macro to start recording. Press Command+→ to go to the end of … Read more