While enjoying the benefits of VS code, I encountered an inconvenient place
Change the language of the document, there is no default shortcut key, is the function
Each switching language requires a manual click, which is quite troublesome
Want to set a shortcut to it, the result is misleading by this graph
I always thought the name of this shortcut when: Choose language mode, the result is not!!!
At the end of my attempt, I finally found the name of the operation: Configure language-specific settings
With the name of the action, setting the shortcut key is a small thing.
Ctrl+k ctrl+s turn on keyboard shortcuts, or enter in the search box from the keyboard shortcut: file, Preferences:
Configure language-specific settings
Then click on the small pen, set their favorite shortcut keys, which is good after you can use the shortcut set to switch language mode, compared to the mouse click a lot of convenience, I hope to help everyone.
VS Code Toggle File Language Configuration language-specific settings