I'm using the popular IDE NetBeans
and I have problems commenting code on the same line. For example, let's say we have the following line:
<h1> Some text </h1>
comment for h1
I would like to comment the part "comment for h1"
through a key combination or some other means but without having to type manually and without transferring the comment string to the next line. I usually use ctrl+/ but this key combination comments the whole line, which is not what I want.
select the texe and use Ctrl+Shift+C