User forums > Help

Is astyle supposed to touch comment (/* */)?

<< < (2/3) > >>

takeshimiya:

--- Quote from: devsolar link=http://sourceforge.net/forum/forum.php?forum_id=507269 ---Looking for new maintainer

I decided that the legacies involved in AStyle were too much of a hindrance for me to make any significant progress towards the 1.17.0 release I have been battling for whenever I picked up the thread again.
 
If anyone is willing to continue this project, please contact devsolar@users.sourceforge.net.
 
I will soon start work on a source reformatter specialized on C++ instead. I don't know much about C#, and AFAIK there are good Java reformatters readily available, so compatibility to those languages was one of the main roadblocks for me in AStyle. Perhaps I can make better progress that way.
 
Sorry for taking so long to realize I'm not the person to bring AStyle forward.

--- End quote ---

280Z28:

--- Quote from: Ceniza on December 29, 2005, 02:44:37 am ---I'd say that's a bug, an AStyle bug, but since AStyle development has stopped, it'd be kinda useless to add a bug report, or it could be reported already.

I hope AStyle's replacement be developed and released soon...

--- End quote ---

I'm working on a plugin that does format-as-you-type, and can reformat code when you paste it (just the code you pasted, say copy and paste from one program to another), similar to what Visual Studio 2005 can do with C# code, if you are familiar with that.

yop:

--- Quote from: 280Z28 on December 29, 2005, 10:27:09 pm ---I'm working on a plugin that does format-as-you-type, and can reformat code when you paste it (just the code you pasted, say copy and paste from one program to another), similar to what Visual Studio 2005 can do with C# code, if you are familiar with that.

--- End quote ---
This is a very handy feature, kdevelop has this one also (haven't used visual studio for ages to know what happens there). You'll use existing astyle handling implemented in codeblocks? (cause it'll need consistency with the style the user has selected for the astyle plugin).

royalbox:

--- Quote ---I'm working on a plugin that does format-as-you-type
--- End quote ---

I look forward to seeing that. There seems to be a few bugs or annoyances in Astyle.
One is this:


--- Code: ---THING thing{0};
--- End code ---
becomes:

--- Code: ---THING thing {
    0
};
--- End code ---
no matter what options I try.

Also, comments added after code (on the same line) seem to drift to the right each time Astyle is used.

Michael:

--- Quote from: royalbox on January 03, 2006, 04:18:42 pm ---
--- Code: ---THING thing{0};
--- End code ---
becomes:

--- Code: ---THING thing {
    0
};
--- End code ---
no matter what options I try.

--- End quote ---

Hmm. And what you would like to have? Anyway, did you try with custom (and define what you would like by yourself)?

Michael

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version