Search code examples
linuxcommentsvisual-studio-code

How can you toggle comments with VSCode in Linux?


I've usually used Sublime Text for editing JavaScript files, there I can toggle comments with Ctrl+Shift+7|/.

Now I'm trying VSCode, which is a great project. But I failed in toggling comments per shortcut. The documentation says: Ctrl+K and the like, but this did not work.

Any suggestions?


I'm using Ubuntu 14 with Gnome.


Solution

  • You can toggle comments with CTRL + #.