no way to enclose a selected amount of text within a comment?

View: New views
3 Messages — Rating Filter:   Alert me  

no way to enclose a selected amount of text within a comment?

by swing_developer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there no way to select text and enclose it in a comment , I mean through an action within Netbeans... either under the "edit" menu or some  refactoring? 

Many thanks. 

Re: no way to enclose a selected amount of text within a comment?

by Futaleufu_John :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can use Ctrl+Shift+C to toggle comments.

Note that this will comment the entire line.

If your selection encompasses more than one line, it will comment all those lines, including partially selected lines.

In Java View, I also have two icons - one to comment my selection and another to uncomment it.

swing_developer wrote:
Is there no way to select text and enclose it in a comment , I mean through an action within Netbeans... either under the "edit" menu or some  refactoring?
Any ads or links to ads that appear in this post are not endorsed nor recommended by this poster.

Re: no way to enclose a selected amount of text within a comment?

by swing_developer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ahhh tnx Jphn!!!

On Sun, Nov 1, 2009 at 2:11 PM, Futaleufu_John <jhalupka@...> wrote:

You can use Ctrl+Shift+C to toggle comments.

Note that this will comment the entire line.

If your selection encompasses more than one line, it will comment all those
lines, including partially selected lines.

In Java View, I also have two icons - one to comment my selection and
another to uncomment it.


swing_developer wrote:
>
> Is there no way to select text and enclose it in a comment , I mean
> through an action within Netbeans... either under the "edit" menu or some
> refactoring?
>


-----
Any ads or links to ads that appear in this post are not endorsed nor
recommended by this poster.
--
View this message in context: http://old.nabble.com/no-way-to-enclose-a-selected-amount-of-text-within-a-comment--tp26148029p26152289.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.