Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:00 Go to next message
Xavi Beumala is currently offline Xavi BeumalaFriend
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 16:52 Go to previous message
Xavi Beumala is currently offline Xavi BeumalaFriend
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: Tue Apr 23 14:49:00 GMT 2024

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

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

Back to the top