Problems with PDT 2.0

Get help with Spket IDE.
Post Reply
Urkman
Posts: 5
Joined: Tue Sep 02, 2008 7:24 am

Problems with PDT 2.0

Post by Urkman » Wed Nov 26, 2008 6:48 am

Hello,

I try to use Spket with PDT 2.0, but it is not working correctly :-(
The Navigator shows the corrent Class structure, but when I type "this." I don't get code completion.
And I can't access Classnames outside the current file.

Hope someone can help.

Greetings,
Urkman

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Wed Nov 26, 2008 2:58 pm

I tried pdt 2.0 M2, and seems everything is fine, are you sure you are using "Spket JavaScript Editor" instead of the default "JavaScript Editor" which is from webtools? just choose the js file, and using context menu, choose item "Open With" to see which one is checked...

Urkman
Posts: 5
Joined: Tue Sep 02, 2008 7:24 am

Post by Urkman » Fri Nov 28, 2008 8:53 am

Hello,
eric_suen wrote:I tried pdt 2.0 M2, and seems everything is fine, are you sure you are using "Spket JavaScript Editor" instead of the default "JavaScript Editor" which is from webtools? just choose the js file, and using context menu, choose item "Open With" to see which one is checked...
I tried it with the M2 Version as well.

I use this code, but no CodeCompletion, but the Navigator shows everything fine. Also, I get no CodeCompletion for Classes defined in other Files, although I added this files to the JavaScript Profile.

Code: Select all

var tpTestClass = Class.create({
	_property: null,

	initialize: function() {},
	getProperty: function() { return this._property; }
}
tpTest = new tpTestClass();
Greetings,
Stefan Sturm

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Fri Nov 28, 2008 12:29 pm

Are you using mootools? currently the mootools support is not very good, especially mootools 1.2.x, Spket support mootools 1.1.x style code like

Code: Select all

var tpTestClass = new Class({
   _property: null,

   initialize: function() {},
   getProperty: function() { return this._property; }
})
tpTest = new tpTestClass();

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest