ide - NetBeans commenting -


i'm using popular ide netbeans , have problems commenting code on same line. example, let's have following line:

<h1> text </h1> comment h1

i comment part "comment h1" through key combination or other means without having type manually , without transferring comment string next line. use ctrl+/ key combination comments whole line, not want.

why not select & replace such occurences.

you can use ctrl + shift + h , enter text want replace.

add text (say comment h1) commented in field containing text, , replace text //comment h1 in replace with field.

enter image description here

then show matches want comment. can select desired places want place comment before text.

finally, click on replace ? matches button. voila, that's it...

enter image description here


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -