Re: java commenting out of code
- From: "Remon van Vliet" <remon@xxxxxxxxxxxx>
- Date: Wed, 11 Jan 2006 15:09:20 +0100
Use a good editor, most IDEs have block commenting (i.e. add/remove // in
front of all selected lines with Ctrl+/ )
Remon
"patrick" <networkone@xxxxxxxxxx> wrote in message
news:1f8xf.4381$j7.100811@xxxxxxxxxxxxxxxxx
> Hmm,
>
> Still a problem if you want to comment out several methods.
> Also I often find that Ive copied in long methods, from the web say, which
> often use *'s a lot inside the method defimitions.
> patrick
>
> "Alan Krueger" <wgzkid502@xxxxxxxxxxxxxx> wrote in message
> news:RP7xf.2201$Ya5.576@xxxxxxxxxxx
>> patrick wrote:
>>> /**
>>> * bla bla bla
>>> */
>>> void method A()
>>> {
>>> ...
>>> }
>>>
>>> All the astisisks have to be got rid of first, then enclose with /* and
>>> */
>>> I find this tedious.especially with big blocks of code.Is there an
>>> easier way ?
>>
>> If you use // for in-method comments, just comment the method not the
>> preceding comment.
>
>
.
- References:
- java commenting out of code
- From: patrick
- Re: java commenting out of code
- From: Alan Krueger
- Re: java commenting out of code
- From: patrick
- java commenting out of code
- Prev by Date: Re: Generic format for saving EMails
- Next by Date: Re: java and wab windows address book
- Previous by thread: Re: java commenting out of code
- Next by thread: Re: java commenting out of code
- Index(es):