There is a way in webstorm to comment or uncomment a specific line or selected block of source code with shortcut? I try to use CTRL + / but doesn't work for me
There is a way in webstorm to comment or uncomment a specific line or selected block of source code with shortcut? I try to use CTRL + / but doesn't work for me
Use CTRL+/, but with the / located on the numpad.
The question remains why commenting with / (the one besides .) does not work (it does not for me, either).
If Ctrl + Shift + / doesn't work , try Ctrl + Shift + Num Pad /. You can check the exact configuration in settings->keymap.
@Note Shortcut IntelliJ IDEA
///**/On Windows with a German keyboard layoout the default keyboard shortcut for the comment lines action Ctrl+/ conflicts with the bookmark shortcut Ctrl+7. You need to remove the keyboard shortcut for bookmarks in order to get this to work.
Commenting out each line of selected code for Mac users without numpad would have to add a keyboard shortcut:
Comment with Line Commentcmd + shift + 7 would be interpreted as shift + cmd + 7 but works the same.You need to activate this option:

I have an AZERTY keypad in French, so this was the answer for me :
Ctrl + Shift + / on the numpad
Because / out of the numpad was detected as :, even with Caps Lock on.
You can check how the keystrokes are actually detected by IntelliJ in :
On Windows :
Settings > Keymap > click on the icon of Magnifying glass with cubes (tooltip is "Find Actions By Shortcut"). In the little tooltip that opens, you stroke the keys and observe the registered results.
On Ubuntu :
Settings > Keymap > click on the icon of Keyboard, right next to the search input (tooltip is "Find Actions By Shortcut"). In the little tooltip that opens, you stroke the keys and observe the registered results.
its possible to use inellij IDEA by the way you customized before with an IDE like VisualStudio Settings -> KeyMap -> Choose your old IDE its a grate! feature life saver :)