Bug 477792 - References->Workspace in JavaScript does not work
Summary: References->Workspace in JavaScript does not work
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Victor Rubezhny CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-18 06:16 EDT by Michal Niewrzal CLA
Modified: 2018-05-03 12:02 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Niewrzal CLA 2015-09-18 06:16:47 EDT
Example:
function testClass() {
	this.ConvertToInch = function(pfHeightInMm) {
		return (pfHeightInMm / 2.54);
	};
}

var gfHeightInInch = 0.0;
var goTestClass = new testClass();

gfHeightInInch = goTestClass.ConvertToInch(34);

When I rightclick ConvertToInch in the above function testClass and select "References->Workspace" in the context menu, then I expect that the line with "gfHeightInInch = goTestClass.ConvertToInch(34);" will show up in the Search view. 
But instead I get the error message: The operation is unavailable on the current selection. Please select a valid JavaScript element name.
Comment 1 Jeremy Wischusen CLA 2018-05-03 12:02:40 EDT
I am still seeing this issue in Oxygen. Is there any plan to fix this?