Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSDT Refactoring support
JSDT Refactoring support [message #1277658] Wed, 26 March 2014 09:36
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 127
Registered: September 2011
Senior Member
Hi,

I realized that sometimes refactoring of javascript files is not available in the context menu and if I hit the shortcut I get the message "Operation unavailable on the current selection. Select a javaScript project, source folder, resource, or a JavaScript file, or a non-readonly type, var, function, parameter, local variable, or type variable."

I do not understand in which cases refactoring is not available. Can someone explain the error message? What are non-readonly types, var, etc.?

For example I cannot rename myFunc:

function Test(){

	this.data = {
		myFunc:function(){
			return;
		}	
	};
}
var x = new Test();
x.data.myFunc();

Previous Topic:JSP JDK Issues Eclipse Kepler
Next Topic:XSL embedded editor
Goto Forum:
  


Current Time: Fri Mar 29 13:45:01 GMT 2024

Powered by FUDForum. Page generated in 0.06681 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top