Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Source Formatter
Ceniza:
I was working a bit more in the lexer. I'm kinda tired so it wouldn't be strange if I introduced a few bugs.
I just wanted to add that I got WebSVN working :)
http://svn.cenizasoft.cjb.net/websvn/
P.S.: Still waiting for ideas regarding the Stiff GUI. Screenies welcomed :)
[edit]
The WebSVN link has changed to http://svn.cenizasoft.cjb.net/
[/edit]
280Z28:
I started writing a plugin that would format just what you were working on as you type, but gave up when no one answered this: :(
http://forums.codeblocks.org/index.php?topic=1927.0
All it was going to do is format the current statement or block after you hit ; or } but I thought it would be interesting.
I also wanted to make an option to word wrap a comment block without having to redo whatever delimiter you put at the beginning of a comment line.
Michael:
--- Quote from: 280Z28 on January 17, 2006, 02:48:18 pm ---I started writing a plugin that would format just what you were working on as you type, but gave up when no one answered this: :(
http://forums.codeblocks.org/index.php?topic=1927.0
All it was going to do is format the current statement or block after you hit ; or } but I thought it would be interesting.
--- End quote ---
It was interesting :). You should not give up. May be such a real-time functionality could be implemented in what Ceniza is doing.
Michael
280Z28:
--- Quote from: Michael on January 17, 2006, 02:58:46 pm ---
--- Quote from: 280Z28 on January 17, 2006, 02:48:18 pm ---I started writing a plugin that would format just what you were working on as you type, but gave up when no one answered this: :(
http://forums.codeblocks.org/index.php?topic=1927.0
All it was going to do is format the current statement or block after you hit ; or } but I thought it would be interesting.
--- End quote ---
It was interesting :). You should not give up. May be such a real-time functionality could be implemented in what Ceniza is doing.
Michael
--- End quote ---
Maybe. :) I've been really busy working on another part.
takeshimiya:
--- Quote from: Ceniza on January 17, 2006, 08:54:13 am ---Still waiting for ideas regarding the Stiff GUI. Screenies welcomed :)
--- End quote ---
Here they are:
These are current drawbacks of the AStyle GUI, which you can take in account:
Code::Blocks AStyle Plugin
Actual behaviour:
Not a big problem, but the sample TextCtrl doesn't reflects the editor settings (font, colors, etc)
Expected behaviour:
The sample TextCtrl should be a cbEditor in the case it's not that difficult.
Maybe also letting the user can change the text example in real time wouldn't be bad.
Actual behaviour:
The window and TextCtrl is rather small, the text itself also, thus reviewing styles becomes hard.
Expected behaviour:
The text example should include more cases like classes, etc.
Actual behaviour:
The Custom style doesn't show any text at all.
Expected behaviour:
It should show the text and run AStyle over it in each change made to the custom settings.
At the time we'll have this working, the Sample TextCtrl should be shared across the 3 tabs.
Hope that helps a little :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version