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 250334 - ProjectConvertors & Select inProjects (CTRL + SHIFT + 1)
Summary: ProjectConvertors & Select inProjects (CTRL + SHIFT + 1)
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 253339
  Show dependency tree
 
Reported: 2015-02-10 11:31 UTC by Tomas Mysik
Modified: 2015-07-21 01:19 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2015-02-10 11:31:46 UTC
Steps:
- open an HTML5 project with some node_modules installed
- open a file from some <noe module> (library/dependency in node_modules directory)
- invoke Select in Projects (CTRL + SHIFT + 1)

-> expected: file is found in the current HTML5 project ("parent" project of the <node module>)
-> actual: IDE asks whether it should open project <node module>

Filing as P2 since it is unexpected behavior. Moreover, if one creates such a project (for the given <node module>), then there will be problems if out-of-date CP (CP only of <node module> project will be up-to-date, not of the "parent" project).

Thanks.
Comment 1 Tomas Mysik 2015-02-10 14:07:36 UTC
Perhaps we could again just delegate to "parent"'s project LogicalViewProvider (for finding a node for a file)?
Comment 2 Tomas Mysik 2015-03-06 06:31:32 UTC
Tome, could not simply FileOwnerQuery ignore ProjectConvertor projects?
Comment 3 Tomas Zezula 2015-07-17 13:27:23 UTC
Fixed jet-main 4ac805260874
Comment 4 Quality Engineering 2015-07-18 01:47:18 UTC
Integrated into 'main-silver', will be available in build *201507180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4ac805260874
User: Tomas Zezula <tzezula@netbeans.org>
Log: #250334:ProjectConvertors & Select inProjects (CTRL + SHIFT + 1)
Comment 5 Tomas Zezula 2015-07-20 08:18:39 UTC
No need to change the project's LVP.
jet-main 1492ac0358e3
Comment 6 Quality Engineering 2015-07-21 01:19:45 UTC
Integrated into 'main-silver', will be available in build *201507210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1492ac0358e3
User: Tomas Zezula <tzezula@netbeans.org>
Log: #250334:ProjectConvertors & Select inProjects (CTRL + SHIFT + 1)