Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JSDT Quick fix to create local variable doesn't appear(JSDT doesn't trigger an error when using an undeclared variable)
JSDT Quick fix to create local variable doesn't appear [message #727210] Tue, 20 September 2011 12:00 Go to next message
Eclipse UserFriend
I have the code below in a hello.js file. JSDT doesn't trigger an error when using the undeclared 'h' variable and I don't have the quickfixes to "declare variable" or "create parameter" as shown in this screencast www.eclipse.org/atf/demos/jsdt/flash/quick_fix/quick_fix_viewlet_swf.html

function hello() {
	if (h == true) {
		return true;
	}

	return false;
}


I've been looking at all the configuration options for JSDT but can't find anything to get this to work. Is there anything special that I need to do? I'm running Eclipe Eclipse IDE for Java EE Developers 3.7

many thanks in advance
Re: JSDT Quick fix to create local variable doesn't appear [message #727235 is a reply to message #727210] Tue, 20 September 2011 12:52 Go to previous message
Eclipse UserFriend
Similarly my installation doesn't neither detect non-existing functions. i.e.:

function byebye() {
	aloha();
}


This code is the only one in the .js file but I'm not getting any error because the aloha function doesn't exist.

Any hint is more than welcome. many thanks
Previous Topic:Creating WTP project in code - Setting project location
Next Topic:Eclipse WTP Proeprties Throwing NullPointerException in Indigo Version
Goto Forum:
  


Current Time: Wed Jul 16 06:20:13 EDT 2025

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

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

Back to the top