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.
Summary: | Improve feedback if "Select in projects" is invoked on search result which doesn't belong to a project | ||
---|---|---|---|
Product: | projects | Reporter: | kalle1 |
Component: | Generic Projects UI | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages.log |
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. 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. > 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
|
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).