Z
Z
zhabaa2021-10-11 22:41:12
Hotkeys
zhabaa, 2021-10-11 22:41:12

How to create hotkey in visual studio code?

I need to create a hotkey in visual studio code to automatically select the programming language. For example: python, java, c++, c#.

-Can't find anything in settings

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2021-10-11
@zhabaa

Absolutely all actions in VSCode work through commands (the same ones that can be run manually through Ctrl+Shift+Por Cmd+Shift+Pon a poppy).
Keybinding is also carried out to any command.
The command you need has id: workbench.action.editor.changeLanguageModeand by default a combination is already attached to it Ctrl+K M(first press Ctrl+Kand then right away M), but of course you can change it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question