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 251644 - Improve feedback if "Select in projects" is invoked on search result which doesn't belong to a project
Summary: Improve feedback if "Select in projects" is invoked on search result which do...
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-04 13:06 UTC by kalle1
Modified: 2015-09-01 15:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (33.86 KB, text/x-log)
2015-04-04 13:06 UTC, kalle1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kalle1 2015-04-04 13:06:42 UTC
Created attachment 153035 [details]
messages.log

After opening a search result it should be possible to select that file with the "Select in project" function of the editor (after opening the search result there).
Comment 1 kalle1 2015-04-04 13:29:09 UTC
This only happens if the file which is found doesn't belong to a project, so there's nothing to do except improve the user feedback.
Comment 2 Jaroslav Havlin 2015-08-13 15:03:15 UTC
Action org.netbeans.modules.project.ui.actions.SelectNodeAction (.inProjects() variant) asks whether project should be opened if it exists and is closed, but if the file doesn't belong to any project, the Projects view is just selected and user is not notified about incomplete operation.

Maybe just status bar message saying that "no project for the file exists" would be sufficient.

Reassigning to projects/Generic Projects UI.
Thank you.
Comment 3 Tomas Stupka 2015-09-01 15:48:24 UTC
> Maybe just status bar message saying that "no project for the file exists" would be sufficient.
there already is a message in the status bar