Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

New AStyle plugin

<< < (2/2)

tiwag:

--- Quote from: Ceniza ---Thanks for your feedback.
--- End quote ---

Thanks for your update, works fine now !


--- Quote from: Ceniza ---I'll try to make the test file later (I really need to sleep first).
--- End quote ---

please don't hurry !  we look forward to hear from you again...

squizzz:
Hey, I played a bit trying to fool Source code formatter (AStyle) plugin (finalbeta 1.0), and found nice benchmarks that make it quite easy. I thought that maybe someone also find this resource valuable, so here it goes: The 2004 Allegro ScreenHack.

Most of the sources compiles & runs if Allegro game programming library is set up.

Btw. I found one example that worked *almost* correctly (function alert  should go into single line, I suppose):
before
after

Ceniza:
Allegro... my old fellow :)

The ScreenHack entries really are a good source for testing, even though they won't test everything (most people uses C so it won't test namespaces, classes, ...).


--- Quote ---Btw. I found one example that worked *almost* correctly (function alert should go into single line, I suppose):
--- End quote ---


In the original file the call to alert is split and AStyle will keep it split too with some indentation, so... it works correctly? :P


--- Quote ---Thanks for your update, works fine now !
--- End quote ---


Glad to read it :)


--- Quote ---please don't hurry ! we look forward to hear from you again...
--- End quote ---


Ok. When I get it done I'll comment about it here.

mandrav:

--- Quote ---New files: http://gda.utp.edu.co/~ceniza/CodeBlocks/astyle-020705.zip
--- End quote ---

CVS updated. Thanks :)

Yiannis.

jochen:
The new AStyle plugin completely deletes lines when they contain German umlauts, e. g.

    // **für Test auf U0***************

or

        if (U1RBL==0x07) // Änderung
        {
          ...
        }

Seems this makes it unusable :-(

Any idea?

Jochen

Navigation

[0] Message Index

[*] Previous page

Go to full version