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.
then show matches want comment. can select desired places want place comment before text.
finally, click on replace ? matches
button. voila, that's it...
Comments
Post a Comment