News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Looking for an asm code formatter...

Started by ssr86, 21:49, 07 September 15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ssr86

Hi, does anyone know a tool/editor that has an option of auto formatting the source code?
I've coded in Context+pasmo and I have neglected formatting of my source. It's somewhat messy and I'd like to reformat it...but without doing it by hand.

Looking for something like shift+alt+f in netbeans;P.
I've read that notepad++ could do that if one wrote a plugin for it...

Can anyone help? :-*

AMSDOS

* Using the old Amstrad Languages :D * And create my own ;)
* Incorporating the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

ssr86

Not good - it's for MC68000 and Intel8051.
I guess it will be quicker to write a simple formatter by oneself...

AMSDOS

* Using the old Amstrad Languages :D * And create my own ;)
* Incorporating the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

ssr86

No, it only colors the syntax etc. It doesn't fix the indents (at least when I've tried)

robcfg


ssr86

Thank you, after installing st2 + sublime-text-z80asm/z80asm at master · psbhlw/sublime-text-z80asm · GitHub I have the possibilty. However the reindent works somewhat crippled.  My problem is that it doesn't differentiate labels from code... and it formats everything to the same indent level...


Powered by SMFPacks Menu Editor Mod