Sunday, July 08, 2007

    Fold ASM code in MPLAB IDE 7.61

    Did you know that you can 'fold' ASM code in the editor packaged with MPLAB IDE 7.61? Right click on an ASM file and select Properties to get the editor properties page for ASM file types. Enable the code-folding option.

    Once the option is enabled, you can use ;{ and ;} to mark your ASM blocks as shown in the screenshot below.

    You can then use the little icon in the upper left corner of the block to collapse the block.

    1 comment:

    Andreas Thorn said...

    Very nice! Now if only it didn't automaticall unfold all code when debugger/simulator is active...