This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198379 - Show project path in tooltip
Summary: Show project path in tooltip
Status: REOPENED
Alias: None
Product: projects
Classification: Unclassified
Component: Autoproject (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 11:38 UTC by jopet
Modified: 2016-07-10 19:38 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jopet 2011-05-06 11:38:22 UTC
All the freeform projects, automatic projects for directories that use maven, and other projects show a "Porperties" option in the right click menu which informs about the directory the project files are located in.

Automatic projects for directories that use ant do not seem to show this option or the location of the files in an easy way. 

Since one can have several identically named projects in the project list, not having this option is really problematic.
It would be useful if the actual project location would also be shown in the tooltip window.

Finally, for the situation of having to work with several identically named projects, an option to rename the project in the list would be very useful.
Comment 1 Jesse Glick 2011-05-06 12:16:00 UTC
Please file separate issue reports for each distinct issue. Otherwise the issue tracker is useless for tracking incremental progress.

(In reply to comment #0)
> Automatic projects [...] do not seem to show [the Properties dialog]

True; there is not much to configure at the moment. Bug #153233 etc. would presuppose creating such a dialog.

> It would be useful if the actual project location would also be shown in the
> tooltip window.

Leaving open for this item.

> an option to rename the project in the list would be very useful.

Setting a custom project display name would be a separate RFE. But I would probably close it as WONTFIX, since you can already control this via build.xml#/project@name.
Comment 2 jopet 2011-05-06 13:21:59 UTC
Thank you for adapting my report. I did not add these points so much as to request separate RFEs but to illustrate the problem of distinguishing different projects in the list that get assigned the same name by NB. There might be various ways to let a user work comfortably with such a situation.
Getting a tooltip will definitely be a nice enhancement.

Regarding the rename, I wont post a new RFE if I know it WONTGETFIXED, but if I understand your response correctly, you suggest changing the name in the build.xml file?
This is not a nice option for anyone who works in a team and deals with a checked out build.xml because one will then always have a modified file in one's repository - a potential threat of incorrect checkin and getting hated by the rest of the team :)
Comment 3 Jesse Glick 2011-05-06 13:44:11 UTC
(In reply to comment #2)
> you suggest changing the name in the build.xml file?

Yes - the IDE simply displays the name attribute that Ant defines, just as a Maven-based project is displayed as <name> from pom.xml.

> This is not a nice option for anyone who works in a team and deals with a
> checked out build.xml because one will then always have a modified file in
> one's repository

Check in the modified build.xml with the more descriptive / distinctive name. (If you <import> this script, beware that the name can be used a prefix to qualify overridden target names.)

One relatively unusual situation where this is would not suffice is if you have several checkouts of the same project from different branches and wish to open them all at once (to somehow compare, I guess). But the same is true for any project type; in this case you just need to use tooltips to differentiate between the copies. Probably there could be an RFE for the generic Projects tab (i.e. projects/Generic Project UI) to annotate the labels of open projects with identical display names so as to somehow differentiate them, e.g. by adding some or all of the project path in a greyish font. This came up in a projects/Maven issue recently though I cannot find it now.
Comment 4 jopet 2011-05-06 13:54:48 UTC
Having several checkouts of the same project was exactly what I was thinking of. I was not aware that this is a general Netbeans problem for all project types. 
I will therefore try and submit a more general RFE because I think that the users should be able to name their projects for existing sources whatever they like, similar as it is possible to check out the SVN directory to whatever directory name one wants. This can help to organize a large number of projects better.
Comment 5 markiewb 2013-01-06 13:13:14 UTC
(In reply to comment #3)
> ... Probably there could be an RFE for the generic Projects tab
> (i.e. projects/Generic Project UI) to annotate the labels of open projects with
> identical display names so as to somehow differentiate them, e.g. by adding
> some or all of the project path in a greyish font. This came up in a
> projects/Maven issue recently though I cannot find it now.

I created a RFE [1] for it. With the extension point described there such specific label decoration would be possible IMHO.

[1] http://netbeans.org/bugzilla/show_bug.cgi?id=224536
Comment 6 Martin Balin 2016-07-07 08:39:01 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 7 markiewb 2016-07-10 19:38:00 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)