ExtJS code assist

Get help with Spket IDE.
ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

ExtJS code assist

Post by ksemeks » Wed May 25, 2011 10:04 am

Hello,

I managed to get it working in *.js files, but how can I make it work with html files?
Ex, i want to make a small script in the <head> section, between <script> and </script> tags.
I tried to associate the *.html files with the Spket IDE, but code assist doesn't work there.

Can someone help me?

Thanks

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

Re: ExtJS code assist

Post by eric_suen » Wed May 25, 2011 10:28 am

try Alt + Shift + /, it should works for other editor.

ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

Re: ExtJS code assist

Post by ksemeks » Wed May 25, 2011 10:33 am

No, nothing.
It doesn't work. Anything else?

Please..

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

Re: ExtJS code assist

Post by eric_suen » Wed May 25, 2011 11:31 am

are you using standalone version or plugin? and which html editor? it works for me

ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

Re: ExtJS code assist

Post by ksemeks » Wed May 25, 2011 6:25 pm

I'm using the plugin version for eclipse.
I switch to Spket IDE, open a html file, but the code assist doesn't work for me.

How did you manage to get it working?

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

Re: ExtJS code assist

Post by eric_suen » Wed May 25, 2011 8:07 pm

Eclipse version and which html editor?

ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

Re: ExtJS code assist

Post by ksemeks » Wed May 25, 2011 8:32 pm

Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343,

and HTML editor JavaScript Editor from Spket IDE.

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

Re: ExtJS code assist

Post by eric_suen » Thu May 26, 2011 2:51 am

I tried Eclipse 3.6.1, it works fine, right click a html file, in context menu, select "Open With", If "Spket Text Editor" is checked, then try open the file use other editor, the code assist will not work in that editor.

ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

Re: ExtJS code assist

Post by ksemeks » Thu May 26, 2011 4:40 am

What editor do you use, and with what perspective?
Did you do any editing for getting it to work?

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

Re: ExtJS code assist

Post by eric_suen » Thu May 26, 2011 5:09 am

the perspective is not important, as editor, as long as you don't use Spket Text Editor should be fine, you can try crate a new html file, open it with Text Editor, then press Alt+Shift+/, it should list something.

ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

Re: ExtJS code assist

Post by ksemeks » Thu May 26, 2011 5:11 am

I tried with many editors, but it just won't work.
Guess I'll have to do all the work in the *.js files.

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

Re: ExtJS code assist

Post by eric_suen » Thu May 26, 2011 5:29 am

what's your OS? open the html file, then press Ctrl+Shift+L, or via menu Help -> Key Assist..., try find item JavaScript Content Assist and double click it, try it on an empty html file.

ksemeks
Posts: 8
Joined: Wed May 25, 2011 8:44 am

Re: ExtJS code assist

Post by ksemeks » Thu May 26, 2011 5:39 am

I'm running Ubuntu 10.04 64-bit.
It works on an empty file, but otherwise it doesn't.
Why is that?

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

Re: ExtJS code assist

Post by eric_suen » Thu May 26, 2011 6:07 am

the issue of the html parser it used, it can handle html correctly if it is not a valid xhtml

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

Re: ExtJS code assist

Post by eric_suen » Thu May 26, 2011 6:29 am

I have uploaded a quick fix, it should be more syntax friendly, you can download it here - http://www.agpad.com/downloads/com.spket.mime_1.6.8.jar

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest