Home » Developing U++ » U++ Developers corner » Code reformatting
Code reformatting [message #13738] |
Fri, 25 January 2008 11:49  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
I'm making a plugin for code reformatting, based on Astyle.
I already changed code in Astyle to use NTL instead of STL, I'll test it this week end.
I want to put patched Astyle in 'plugins' folder and make some additions to theide... it's right to do so ?
And... how can I save user settings in order to have them loaded when ide starts ?
Ciao
Max
|
|
|
|
Re: Code reformatting [message #13743 is a reply to message #13742] |
Fri, 25 January 2008 14:11  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Fri, 25 January 2008 13:52 |
Well, it would be fun to do so without Astyle, but yes, you are on the right track.
|
Fun maybe, but easy not at all.... if you want to make something complete.
Astyle works really good indeed, ant it looks well coded.
Quote: |
Configs: TheIDE has two configurations: "global" and "main package specific". Adding things is easy; see
void Ide::SerializeWorkspace(Stream& s);
and
void Ide::Serialize(Stream& s);
but even better approach might be using modular serialization (which is later included), see
ide/OutputMode.cpp
or
ide/laydes/laywin.cpp
|
Thanx, I'll take a look at them.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Sun May 11 19:48:57 CEST 2025
Total time taken to generate the page: 0.00727 seconds
|