Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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
Xavi Beumala is currently offline Xavi Beumala
Messages: 2
Registered: September 2011
Junior Member
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
Xavi Beumala is currently offline Xavi Beumala
Messages: 2
Registered: September 2011
Junior Member
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 23 12:16:38 EDT 2014

Powered by FUDForum. Page generated in 0.01500 seconds