Page 1 of 1

No code completion in STS 2.6

Posted: Tue Apr 19, 2011 3:50 am
by kingcu
I just installed latest Spket as plugin in STS 2.6. Then in Windows -> Preference -> Spket, I added a new Javascript profile and point it to my Ext 3.3.1 folder; if I expand the newly added ExtJS 3.3.1 profile, under the "ext.jsb2" node, there is a bunch of items, but only the first one "Ext All" is checked, since that's the default, I left it untouched. However, when I created a new js file and start typing Ext code, there is no code completion. Please help.

Re: No code completion in STS 2.6

Posted: Tue Apr 19, 2011 6:02 am
by eric_suen
1. make sure the profile you created is the default one.
2. if there have more than 1 JavaScript Editor, make sure you open it use "Spket Javascript Editor", right click the file, in context menu, choose item "Open With..."

Re: No code completion in STS 2.6

Posted: Tue Apr 19, 2011 11:58 am
by kingcu
I didn't open it with Spket editor. Everything works fine once Spket editor is opened. BTW, how to set it as the default editor for all js files? Thanks.

Re: No code completion in STS 2.6

Posted: Tue Apr 19, 2011 2:01 pm
by eric_suen
General -> Editors -> File Associations

Re: No code completion in STS 2.6

Posted: Wed Apr 20, 2011 1:30 am
by kingcu
I got it. Thanks a lot.