| JSDT editor in java project [message #553719] |
Wed, 18 August 2010 11:21  |
Yang Li Messages: 5 Registered: September 2009 |
Junior Member |
|
|
|
So I'm editing a jsp file with embedded javascript. But the editor does not autocomplete the javascript portion, only the java portion. The only way I can get javascript autocomplete to work is if I create a javascript project with the ECMA libraries and make a JS file. Is there a way to make javascript code assist work in a jsp file? Thanks.
|
|
|
|
|
|
|
|
| Re: JSDT editor in java project [message #553944 is a reply to message #553786] |
Thu, 19 August 2010 09:44   |
 |
Ian Tewksbury Messages: 48 Registered: July 2009 Location: RTP, NC, USA |
Member |
|
|
| Yang Li wrote on Wed, 18 August 2010 17:09 | Ok, I made some progress, by enabling the facet i now can get code assist when using ctr space, How do I make it automatic (as in when I type dot, it comes up)?
|
This seems to be a bug that auto activation does not work in Javascript regions. Bug 305209 fixed this problem for Java regions in JSPs. Could you please report this to Bugzilla and report the bug number back here.
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JSDT
Blue Skies,
~Ian
Ian Tewksbury
WTP JavaScript Tools
IBM Rational
-----
“When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return.” ~Leonardo da Vinci
[Updated on: Thu, 19 August 2010 09:45] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01876 seconds