Bug 472115 - Allow disabling the project location label suffix for Project Explorer Hierarchical mode
Summary: Allow disabling the project location label suffix for Project Explorer Hierar...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Mickael Istria CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2015-07-07 19:48 EDT by Bruno Medeiros CLA
Modified: 2016-02-11 05:24 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Medeiros CLA 2015-07-07 19:48:50 EDT
When Project Explorer hierarchical projects presentation is enabled, if the project name does not match the directory the project resides, a suffix is added to the label of the project, the "(in <....>)". This can be a very un-interesting information, and clutters up the Project Explorer. See pic for example: http://i.imgur.com/qV6rnmP.png (it hides the more interesting Git decorations)

This is an enhancement request to be able to disable this suffix. (I reckon the ideal way would be to implement this as a label decoration extension, and as such it could be disabled in Label Decoration preferences).
Comment 1 Mickael Istria CLA 2015-07-08 06:25:11 EDT
Just for the record, having hierarchical view of projects with project name not being the folder name is *very* confusing for users, so even when this is implemented as an optional behaviour, it should remain on by default.
Implementing it as a decorator would indeed be the cleanest approach, that's a good suggestion.
To be honest, I won't put high priority on writing code for this request at the moment (I've other higher priority tasks in progress and in my todo-list), but I would be glad to review a patch, and would make reviewing a patch on this topic a top-priority.