Skip to main content



      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 04:18 Go to next message
Eclipse UserFriend
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 14:09 Go to previous messageGo to next message
Eclipse UserFriend
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 03:27 Go to previous message
Eclipse UserFriend
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: Sat May 24 06:24:12 EDT 2025

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

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

Back to the top