Bug 483103 - [impl] Open Implementation should take me out of define statement
Summary: [impl] Open Implementation should take me out of define statement
Status: REOPENED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 11.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-11-26 11:12 EST by Michael Rennie CLA
Modified: 2018-05-15 15:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-11-26 11:12:03 EST
Consider the following snippet:

define([
	'orion/Deferred',
	'orion/objects',
	'orion/serialize',
	'javascript/lru',
	'orion/metrics'
], function(Deferred, Objects, Serialize, LRU, Metrics) {

});

If you place the cursor on LRU and hit Open Declaration (F3) it selects LRU (correct). If however you use Open Implementation (Ctrl+F3) it also selects LRU (wrong). We should be able to jump to the LRU constructor from here since we know the type of it (content assist, hover, etc all get the type right).
Comment 1 Michael Rennie CLA 2017-01-10 15:43:26 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Comment 2 Michael Rennie CLA 2017-01-12 12:01:22 EST
Reopening