Altering Notepad++ Block/Stream comment functionality

Is there any way to change the way Comment/Uncomment menu commands work in notepad++ per language. I want the php comment function to be able to do <?php /* */ ?> instead of just /* */

Upvotes: 2

Views: 2599

Answers (2)

MajorDick
MajorDick

Reputation: 26

You can create a user defined comment block. On the picture menu there is a dialogue window with a lightning bolt hover over it it says user defined dialogue click it. Click Comment and Number tab header and edit stream and/or block comment.

Upvotes: 1

Jdc1197
Jdc1197

Reputation: 255

I don't think you can or rather should change the basic language syntax.

I believe Notepad++ is just following the language specification.

Upvotes: 1

Related Questions