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

Source Formatter

<< < (9/10) > >>

Emmanuel Delahaye:

--- Quote from: Ceniza on January 14, 2006, 08:37:24 am ---The ~good news: I've started another Source Formatter plugin only for C/C++..

--- End quote ---
Good Idea. I don't like the A-style formatter. I suggest GNU-Indent 1.91 that is free and has nice features (the more recent versions don't have them).

Actually, the easy way should be to allow to install an external tool with auto-reload (I do that with UltraEdit and Dev-C++).

Ceniza:
There's a big problem with GNU-Indent though: it's for C only.


--- Quote from: Emmanuel Delahaye ---Actually, the easy way should be to allow to install an external tool with auto-reload (I do that with UltraEdit and Dev-C++).
--- End quote ---

Just like using Code::Blocks' Tool menu...

I still wonder if this SourceFormatter based on those basic rules will get somewhere...

Michael:

--- Quote from: Ceniza on January 21, 2006, 10:38:15 am ---I still wonder if this SourceFormatter based on those basic rules will get somewhere...

--- End quote ---

I think yes :D. May be you can provide a small example that shows some basic functionalities. That would help both you and users. And you will get valuable feedback (IMHO :D).

Michael

takeshimiya:

--- Quote from: Emmanuel Delahaye on January 21, 2006, 09:36:27 am ---Good Idea. I don't like the A-style formatter. I suggest GNU-Indent 1.91 that is free and has nice features (the more recent versions don't have them).

--- End quote ---

Yeah, just clone GNU-indent, it is a lot more configurable than AStyle, but it's designed only for C, not C++.
Anyways, AStyle is great for common cases. I don't think there is an urgent need for another source formatter.

Game_Ender:

--- Quote from: Ceniza on January 19, 2006, 07:48:02 pm ---Ok, found the problem: I decided to add the command to start svnserve at the end of /etc/init.d/bootmisc.sh, but /etc/rcS.d/S55bootmisc.sh is a file and not a symlink so it was useless. Now I added it to the one in rcS.d :)

I just started it manually so it should work now.

Sorry for the Linux talking :P

--- End quote ---

If you are looking for a cleaner way to do that you can use the place the attached script in the /etc/init.d and then make the proper sym links in /etc/rc3.d.  It is a full working init script with start, stop, reload, and force-reload.  You will need to edit the settings for to init svnserve with at the top.

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version