Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Is any formatters available?
Is any formatters available? [message #151038] Thu, 11 August 2005 07:46 Go to next message
Alexey Kakunin is currently offline Alexey KakuninFriend
Messages: 16
Registered: July 2009
Junior Member
I want to Format a big set of code - actually I need to reformat it into
Unix-style. But in CDT settings on Formatters page I have (NONE) in
combobox. Are any formatters (somethere) available for CDT?

I'm using Eclipse 3.1 & CDT 2.1.1

With best regards,
Alexey Kakunin
Re: Is any formatters available? [message #151050 is a reply to message #151038] Thu, 11 August 2005 09:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ude.npn-gmbh.de

"Alexey Kakunin" <akakunin@emdev.ru> wrote

> I want to Format a big set of code - actually I need to reformat it into
> Unix-style. But in CDT settings on Formatters page I have (NONE) in
> combobox. Are any formatters (somethere) available for CDT?

Somebody wrote a very basic formatter using indent which is part of linux
and cygwin too. If I remember right that was announced in this group. Take a
look back. Otherwise try to google [eclipse plugin indend] or similar for
example.

> I'm using Eclipse 3.1 & CDT 2.1.1

Does this work? I've read that CDT 3.0 is required for use with eclipse 3.1.
That's also my configuration.

Hans
Re: Is any formatters available? [message #151053 is a reply to message #151038] Thu, 11 August 2005 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ude.npn-gmbh.de

I've just found back the link.

http://softwitch.net/blog/index.php/simple-indent-code-forma tter-for-cdt/
Re: Is any formatters available? [message #151058 is a reply to message #151053] Thu, 11 August 2005 11:51 Go to previous messageGo to next message
Alexey Kakunin is currently offline Alexey KakuninFriend
Messages: 16
Registered: July 2009
Junior Member
Hans-J. Ude wrote:
> I've just found back the link.
>
> http://softwitch.net/blog/index.php/simple-indent-code-forma tter-for-cdt/
>
>

Thank, downloaded, installed, but unfortunatelly I cannot see preference
page, it give me error "Plugin org.eclipse.cdt.simpleIndent was unable
to load class
org.eclipse.cdt.simpleIndent.preferences.SimpleIndentPrefere ncePage "

IN log I found message: "org.osgi.framework.BundleException: The
activator org.eclipse.cdt.simpleIndent.SimpleIndentPlugin for bundle
org.eclipse.cdt.simpleIndent is invalid" with huge stack trace.

On the simpleIndent site I found message with same problem but without
solution.
Since I'm really is not very experience in Eclipse internal I cannot
solve this problem by myself.
Did anybody already met and solved this problem?
Re: Is any formatters available? [message #151081 is a reply to message #151058] Fri, 12 August 2005 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: plankton.softwitch.net

Sorry for your trouble. I am the author of simple indent. SI is my first
eclise plugin for practice.

In my guessing, If you using lower version than java 5.0, That strange
message will be appear. (SI doesn't use osgi platform, so that error
message is somehow strange)

Anyway, That problem is now fixed with SI 1.0.6. (Compability patch for
java 1.2, 1.3, 1.4)

SI2.0 will be announced here within 1 month. It has own parser,
Indentation Model, Source Printer. Ant It supports All C/C++ spec and
Coding rule in Pure java)

Alexey Kakunin wrote:
> Hans-J. Ude wrote:
>
>> I've just found back the link.
>>
>> http://softwitch.net/blog/index.php/simple-indent-code-forma tter-for-cdt/
>>
>>
>
> Thank, downloaded, installed, but unfortunatelly I cannot see preference
> page, it give me error "Plugin org.eclipse.cdt.simpleIndent was unable
> to load class
> org.eclipse.cdt.simpleIndent.preferences.SimpleIndentPrefere ncePage "
>
> IN log I found message: "org.osgi.framework.BundleException: The
> activator org.eclipse.cdt.simpleIndent.SimpleIndentPlugin for bundle
> org.eclipse.cdt.simpleIndent is invalid" with huge stack trace.
>
> On the simpleIndent site I found message with same problem but without
> solution.
> Since I'm really is not very experience in Eclipse internal I cannot
> solve this problem by myself.
> Did anybody already met and solved this problem?
Re: Is any formatters available? [message #154919 is a reply to message #151081] Wed, 21 September 2005 22:45 Go to previous message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Hello,
I was wondering if there is any update on the progress on SI2.0. It
sounds great and something CDT really needs!

thanks,
adam

jiyul wrote:
> Sorry for your trouble. I am the author of simple indent. SI is my first
> eclise plugin for practice.
>
> In my guessing, If you using lower version than java 5.0, That strange
> message will be appear. (SI doesn't use osgi platform, so that error
> message is somehow strange)
>
> Anyway, That problem is now fixed with SI 1.0.6. (Compability patch for
> java 1.2, 1.3, 1.4)
>
> SI2.0 will be announced here within 1 month. It has own parser,
> Indentation Model, Source Printer. Ant It supports All C/C++ spec and
> Coding rule in Pure java)
>
> Alexey Kakunin wrote:
>> Hans-J. Ude wrote:
>>
>>> I've just found back the link.
>>>
>>> http://softwitch.net/blog/index.php/simple-indent-code-forma tter-for-cdt/
>>>
>>>
>>>
>>
>> Thank, downloaded, installed, but unfortunatelly I cannot see
>> preference page, it give me error "Plugin org.eclipse.cdt.simpleIndent
>> was unable to load class
>> org.eclipse.cdt.simpleIndent.preferences.SimpleIndentPrefere ncePage "
>>
>> IN log I found message: "org.osgi.framework.BundleException: The
>> activator org.eclipse.cdt.simpleIndent.SimpleIndentPlugin for bundle
>> org.eclipse.cdt.simpleIndent is invalid" with huge stack trace.
>>
>> On the simpleIndent site I found message with same problem but without
>> solution.
>> Since I'm really is not very experience in Eclipse internal I cannot
>> solve this problem by myself.
>> Did anybody already met and solved this problem?
Previous Topic:Debugging issues...
Next Topic:How does 1 product with n modules relate to projects?
Goto Forum:
  


Current Time: Sat Nov 09 05:49:33 GMT 2024

Powered by FUDForum. Page generated in 0.02862 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top