Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Code reformatting
Re: Code reformatting [message #13742 is a reply to message #13738] Fri, 25 January 2008 13:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14257
Registered: November 2005
Ultimate Member
mdelfede wrote on Fri, 25 January 2008 05:49

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



Well, it would be fun to do so without Astyle, but yes, you are on the right track.

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

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: New hash folding function...
Next Topic: MSC 9 Compilation Warnings -- Fix
Goto Forum:
  


Current Time: Sun May 11 22:56:39 CEST 2025

Total time taken to generate the page: 0.03747 seconds