I created a customised keyboard layout for Myanmar Fonts and Language with Ukelele Unicode keyboard layout editor on Mac. But default shortcuts (eg. command + c, command + v) are not working. How can I fix it.
Related
This tells me that I could use ⌃ + Space combination in order to display suggestions for my code. However, ctrl + Space ( ^ key is ctrl as far as I know) only seems to change the input language keyboard in my system. Nothing else seems to work.
Try Option + Escape, on mac.
The mac keyboard shortcut ctrl + space for switching input sources overrides the VSCode one. Because of this, VSCode added a new keybinding just for mac, Option + Escape
This is actually called intellisense, and the new keyboard shortcut was added in the November 2019 update.
You can disable the macOS shortcut in System Preferences → Keyboard → Shortcuts.
Alternatively you can set up a custom keybinding for this command in VS Code, so that it no longer conflicts with your system shortcut. Please refer to the official documentation.
Recently, ⌘I (i.e. command + i) is also a by default key binding for triggering suggestions.
On MacOS Ventura,
Go to System Settings
Select Keyboard on the Left panel
Select "Keyboard Shortcuts"
Select Input Sources and toggle the switch labelled "Select the previous input source".
Quit vscode and relaunch
I know how to do it on Mac, Linux and Windows, but it doesn't work on Chromebook. You'd expect it to be alt-up/down like Win/Linux, but that is treated like home and end.
Anybody know the trick?
Alt + Up/Down and Ctrl + Alt + Up/Down are reserved by Chromebook. You could open File --> Preferences --> Keyboard Shorcuts in VS Code and change Move Line Up/Down settings to something else.
Chromebook keyboard shortcuts
Chromebook keyboard shortcuts image
There's a easy way.
Just open google-chrome and type chrome://flags in the URL bar,go to the Experiments page.
Search Deprecate Alt based six-pack , then Enable this feature.
Restart.
Then you can use the default shortcut to move line up/down in VSCode.
VS Code Version : 1.26.1 (1.26.1)
Mac version : 10.13.6
How to customize keyboard shortcuts in visual studio code?
For example I want to change Rename to Shift - F6 instead of F2
Go to menu Preferences -> Keyboard Shortcuts
Shortcut in windows its CTRL+k then CTRL+k
Shortcut in mac CMD+k then CMD+s
Search for the command that you are trying to customise short cut
Click on the edit button on the side(Pencil symbol)
Type your custom keyboard short cut and press Enter
Instructions for Windows:
Press Ctrl + K and then Ctrl + S and the Keyboard Shortcuts page will open.
Instructions for MacOS:
The corresponding shortcut is Cmd + K and then Cmd + S
Normally a new tab with title Keyboard Shortcuts will appear. You can modify any shortcut by pressing the edit icon left to the command name and assigning the desired shortcut.
In Google Chrome's devtools you can toggle comments with the shortcut:
Ctrl + /
On a keyboard with a Swedish layout this doesn't work as the / on an English keyboard is replaced with -, causing the text to zoom out instead.
Other combinations based on the position of / on the Swedish keyboard doesn't work either.
How to make it possible to toggle comments on non-english keyboard layouts?
There is a bug with some shortcuts that require to press a modifier key on non-english keyboard. Follow this issue for the resolution.
Edit : I looked at the swedish keyboard layout. While the bug is still present, press Ctrl + *, this will send the code awaited for toggling comments (keycode 191)
I have a problem when using editors (like NetBeans/CodeBlock) in windows 7.
E.g.: If I start to initialize a text using "(Double/single Quotation) and text is starting with a it will give äaaa instead of "aaaa" (this web editor also the same for my PC)
How can I stop this occurrences ?
Sounds like you are using the US-International keyboard layout.
Check the keyboard layout icon in the system tray when you have the misbehaving application focused; you can change the layout from here, or by pressing a key shortcut. (Maybe you're doing that by accident? You can turn the shortcut off, or remove the unwanted layout completely, from Control Panel → Region and Language → Keyboards and Languages → Change keyboards.)