In Eclipse it is possible to comment out multiple lines at once by selecting them and executing CTRL + /:
Is this possible in Notepad++ as well instead of typing /+/ in front of each individual line?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Select desired lines and then press CTRL+Q. This will toggle comments on and off.
Also, I've just recently become a fan of ALT + Left Mouse Click to select multiple lines and just manually comment those lines with
I've found the ALT + Left Mouse Click trick to work well with Visual Studio, JetBrain products, Notepad++ but not Eclipse.
The trick works for a single line comment only.
Create the macro :
place the cursor in your doc and type:
Macro > Stop recording
To quickly comment a line :
Place the cursor at the beginning of the line to comment and press the shortcut you defined for the macro.