You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by joe schmo <ge...@hotmail.com> on 2019/07/24 21:49:43 UTC

auto code formatting

I have some comments above a function, just for testing purposes, when I select alt+shft+f it makes my comments unreadable.  Is there a way to select a section of comments and NOT have the global reformat affect them?

Something like this
/***
    Test of getSideInformation method, of class MP3File.​
    F2 02 11 29​
    1111 0010 0000 0010 0001 0001 0010 1001​
    94 0E 19 00​
    1001 0100 0000 1110 0001 1001 0000 0000​
    16 89 A3 07​
    0001 0110 1000 1001 1010 0011 0000 0111​
    FD001122​
    11111101000000000001000100100010​
    */


Thanks

BC

Re: auto code formatting

Posted by Pieter van den Hombergh <pi...@gmail.com>.
There is no such function yet, but it would be nice in you could mark A
region for exclusion of auto-formatting.
In commentaar you might try: <pre></pre> enclosing the block.

On Wed, 24 Jul 2019 at 23:49, joe schmo <ge...@hotmail.com> wrote:

> I have some comments above a function, just for testing purposes, when I
> select alt+shft+f it makes my comments unreadable.  Is there a way to
> select a section of comments and NOT have the global reformat affect them?
>
> Something like this
> /***
>     Test of getSideInformation method, of class MP3File.​
>     F2 02 11 29​
>     1111 0010 0000 0010 0001 0001 0010 1001​
>     94 0E 19 00​
>     1001 0100 0000 1110 0001 1001 0000 0000​
>     16 89 A3 07​
>     0001 0110 1000 1001 1010 0011 0000 0111​
>     FD001122​
>     11111101000000000001000100100010​
>     */
>
>
> Thanks
>
> BC
>
-- 
Pieter Van den Hombergh.
No software documentation is complete with out it's source code.