Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Code folding plugin
Code folding plugin [message #176474] Wed, 13 September 2006 14:48 Go to next message
Ali Burak Kulakli is currently offline Ali Burak KulakliFriend
Messages: 116
Registered: July 2009
Senior Member
I want to develop my code folding plugin. What do I need to do to start
writing plugin code? I am not experienced on plugin development.

Or, are there any folding plugins available for CDT?

Burak
Re: Code folding plugin [message #176479 is a reply to message #176474] Wed, 13 September 2006 15:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ccvural.cerenbilgisayar.com.tr

Ali Burak Kulakli wrote:
> I want to develop my code folding plugin. What do I need to do to start
> writing plugin code? I am not experienced on plugin development.
>
> Or, are there any folding plugins available for CDT?
>
> Burak

Open Windows->Properties

Choose C/C++->Editor->Folding

Regards

CC Vural
Re: Code folding plugin [message #176659 is a reply to message #176479] Thu, 14 September 2006 09:36 Go to previous messageGo to next message
Ali Burak Kulakli is currently offline Ali Burak KulakliFriend
Messages: 116
Registered: July 2009
Senior Member
I mean, any additional. Not the one comes with CDT.
----
"Cavit Cahit VURAL" <ccvural@cerenbilgisayar.com.tr> wrote in message
news:ee96hv$o57$1@utils.eclipse.org...
> Ali Burak Kulakli wrote:
>> I want to develop my code folding plugin. What do I need to do to start
>> writing plugin code? I am not experienced on plugin development.
>>
>> Or, are there any folding plugins available for CDT?
>>
>> Burak
>
> Open Windows->Properties
>
> Choose C/C++->Editor->Folding
>
> Regards
>
> CC Vural
>
Re: Code folding plugin [message #176718 is a reply to message #176659] Fri, 15 September 2006 08:28 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
There is an extension-point "org.eclipse.cdt.ui.foldingStructureProviders"
to provide your own folding implementation.
Unfortunately it is not documented and there is
no schema file for it, but you can refer to the JDT
foldingStructureProviders extension point schema instead.

You need to implement the interface "ICFoldingStructureProvider" and
optionally "ICFoldingPreferenceBlock" for preferences.
It might be helpful to look at the default implementations
"DefaultCFoldingStructureProvider" and "DefaultCFoldingPreferenceBlock".

Note that folding support will be improved for CDT 4.0.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=84019
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=103196

Good luck.
Toni

Ali Burak Kulakli wrote:
> I mean, any additional. Not the one comes with CDT.
> ----
> "Cavit Cahit VURAL" <ccvural@cerenbilgisayar.com.tr> wrote in message
> news:ee96hv$o57$1@utils.eclipse.org...
>> Ali Burak Kulakli wrote:
>>> I want to develop my code folding plugin. What do I need to do to start
>>> writing plugin code? I am not experienced on plugin development.
>>>
>>> Or, are there any folding plugins available for CDT?
>>>
>>> Burak
>> Open Windows->Properties
>>
>> Choose C/C++->Editor->Folding
>>
>> Regards
>>
>> CC Vural
>>
>
>


--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Code folding plugin [message #1240645 is a reply to message #176474] Thu, 06 February 2014 22:16 Go to previous message
Alex Emm is currently offline Alex EmmFriend
Messages: 1
Registered: February 2013
Junior Member
Burak,

I know it's been 8 years since your first post, but
maybe you wrote a folding plugin eventually?

Please tell us whether you did (or did not).

Thanks in advance.

Alex.
Previous Topic:Debugging existing executable doesn't allow to set breakpoints
Next Topic:Eclipse builds Hello_world but does nothing with my main project.
Goto Forum:
  


Current Time: Fri Apr 19 21:49:08 GMT 2024

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

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

Back to the top