How can you switch comments using VSCode on Linux?

I usually used Sublime Text to edit JavaScript files, where I can switch comments using Ctrl+Shift+7|/.

Now I'm trying VSCode, which is a great project. But I was not able to switch the comments to the shortcut. The documentation says: Ctrl + K, etc. but that didn't work.

Any suggestions?


I am using Ubuntu 14 with Gnome.

+4
source share
4 answers

You can switch comments with CTRL + #.

+1
source

CTRL+K, then CTRL+Cfor comments and CTRL+K, then CTRL+U, to uncomment. Works for Gnu / Linux Ubuntu 12.04 LTS Gnome ...

+1
source

Using: CTRL +/

This works for the current version using Arch Linux. These additional comments should bring the number of characters to thirty.

0
source

All Articles