Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Commenting code in Notepad++

I'm using Notepad++ as an editor to write programs in Python. It might sound daft but I looked around in the editor and could not find any means (not the manual way but something like in Emacs) to do a block comment in my code.

Since so many language settings are supported in Notepad++, I'm curious to find a way to block comment code.

like image 635
Arnkrishn Avatar asked Jun 20 '09 19:06

Arnkrishn


People also ask

How do you comment multiple lines in notepad?

Comment Out Multiple Lines in Notepad++Select the lines you want to comment out and press Ctrl + Shift + Q or click Edit > Comment/Uncomment > Block Comment. That's all.

How do I comment in HTML notepad?

Ctrl + Shift + Q.

How do you comment out code?

The leading characters // are added to the beginning of each line when commenting one or more lines of code. You can also block comment multiple lines of code using the characters /* */ .


1 Answers

CTRL+Q Block comment/uncomment.

See Keyboard And Mouse Shortcuts - Notepad++ Wiki.

like image 56
Niels R. Avatar answered Sep 23 '22 06:09

Niels R.