Is anyone able to achieve code folding for assembly language?
I came across several issues while trying to do the same. I imported the language syntax file into wordfile.txt. My .ASM files are correctly recognized as an assembly file and syntax highlighting works as expected. Although code folding does not work and that with assembly language becomes most important feature - since this files can grow pretty large quickly.
I created following lines for code folding.
I am trying to use ;{ and ;} as my open/close folder marks since ; is the comment character. Once saved - I hoped that UE will recognize my code blocks and show the block begin/close section on the gutter with "-" and "+" characters.
UE does not recognize code folder begin/end characters.
Also each time I need to fold a block of code, I need to select it - then do - View->Hide/Show Lines->Hide/Show Selection. This is getting tedious.
Can anyone help? What am I doing wrong here?
Thanks!
I came across several issues while trying to do the same. I imported the language syntax file into wordfile.txt. My .ASM files are correctly recognized as an assembly file and syntax highlighting works as expected. Although code folding does not work and that with assembly language becomes most important feature - since this files can grow pretty large quickly.
I created following lines for code folding.
Code: Select all
/L20"Assembler x86" Nocase Line Comment = ; File Extensions = ASM
/Function String = "%[a-zA-Z0-9_@?$]+[ ^t]+proc+[ ^t^p]"
/Open Fold Strings = ";{"
/Close Fold Strings = ";}"
UE does not recognize code folder begin/end characters.
Also each time I need to fold a block of code, I need to select it - then do - View->Hide/Show Lines->Hide/Show Selection. This is getting tedious.
Can anyone help? What am I doing wrong here?
Thanks!