用于使用德语键盘布局进行注释的 Visual Studio 代码快捷方式

Pir*_*nha 5 keyboard layout shortcut visual-studio-code

在 Visual Studio 代码中德语键盘布局上注释行的替代快捷方式是什么?

Pir*_*nha 18

快捷方式为:\xc2\xa0

\n\n
STRG + #\n
Run Code Online (Sandbox Code Playgroud)\n\n

我必须额外输入一些单词,因为 stackoverflow 不希望有简短的答案。

\n


30t*_*thh 7

我不知道它是否与我的安装有关,但我的 vscode 默认使用以下快捷方式:

Ctrl-K + Ctrl-C - comment
Ctrl-K + Ctrl-U - uncomment
Run Code Online (Sandbox Code Playgroud)

他们使用德国布局,我可以将其更改为我想要使用的任何内容

File -> Preferences -> Keyboard Shortcuts -> Search for "line comment"
Run Code Online (Sandbox Code Playgroud)