Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn CDT - Possibility to collapse namespaces in Project Explorer
Mylyn CDT - Possibility to collapse namespaces in Project Explorer [message #1713979] Mon, 09 November 2015 09:18 Go to next message
Tobias Langner is currently offline Tobias LangnerFriend
Messages: 17
Registered: July 2009
Junior Member
Hey guys,

I'm wondering whether in the Mylyn CDT Project Explorer, there is an easy way to collapse the namespaces that are displayed in a hierarchical fashion. This existing mechanism clutters the Project Exporer and makes it almost useless as most of the space is consumed by namespace names:
index.php/fa/23871/0/
The problem is that each class in the context, the project explorer displays the class' namespace hierarchically as in
verylong
|-- ugly
    |-- namespace_
        |--- MyClass
So if you open a few classes (maybe even in the same namespace), these namespace displays use most of the space in the explorer. Is there any way to collapse them into something like the following?
verylong::ugly::namespace_
|-- MyClass
That would make it much more helpful.

Please let me know if I can provide more information. Thanks!
Re: Mylyn CDT - Possibility to collapse namespaces in Project Explorer [message #1714085 is a reply to message #1713979] Mon, 09 November 2015 19:09 Go to previous messageGo to next message
Sam Davis is currently offline Sam DavisFriend
Messages: 96
Registered: July 2012
Member
Hi,

Thanks for bringing this up. This is the behaviour of CDT so I don't think that we can or should change it in Mylyn. The problem is that CDT treats the namespace as part of the hierarchy exposed in the Project Explorer, and this hierarchy is repeated in each file. Maybe you would have more luck opening an enhancement request against CDT to exclude namespaces from the Project Explorer, or provide an option to exclude or collapse them.

Cheers,
Sam
Re: Mylyn CDT - Possibility to collapse namespaces in Project Explorer [message #1714134 is a reply to message #1714085] Tue, 10 November 2015 08:27 Go to previous message
Tobias Langner is currently offline Tobias LangnerFriend
Messages: 17
Registered: July 2009
Junior Member
Hey Sam,

thanks for the directions. I added a feature request for CDT at https://bugs.eclipse.org/bugs/show_bug.cgi?id=481806 .

Best, Tobias
Previous Topic:Mylyn 3.17 is now available
Next Topic:mylyn task list
Goto Forum:
  


Current Time: Wed Nov 14 21:27:53 GMT 2018

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

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

Back to the top