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.
Tipp: Press F1 and type the name of the command you are looking for - it will show the keybinding. Bonus: https://code.visualstudio.com/Docs/editor/keybindings explains many shortcuts and how to customise them.
CTRL+K
then CTRL+C
to comment and CTRL+K
then CTRL+U
to uncomment. Works for Gnu/Linux Ubuntu 12.04 LTS Gnome...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With