Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » StructuredTextEditor for Java Script
StructuredTextEditor for Java Script [message #630429] Sat, 02 October 2010 06:22 Go to next message
Eclipse UserFriend
Hi All,

I am trying to open a StructuredTextEditor with a Java script file.
But it throws me 'Content type not supported' exception as well as the StructuredTextEditor must be associated with a Structured document.

The structuredtexteditor could open xml, html.A doc says it should be able to open JS.

The Normal JS editor is actually a CompilationUnitEditor but that does not derive from StructuredTextEditor.

So my questions are.

(1) Does StructuredTextEditor supports opening of JS files ?
(2) If i open JS with CompilationUnitEditor how do i plug-in the content assist to it ?.

Any pointers would be hugely appreciated.

Thanks and Regards,
Saurav
Re: StructuredTextEditor for Java Script [message #630737 is a reply to message #630429] Mon, 04 October 2010 14:02 Go to previous message
Eclipse UserFriend
1) No.
2) Your best option is to look into the org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer extension point, which you can find at http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. wst.jsdt.doc/reference/extension-points/org_eclipse_wst_jsdt _ui_javaCompletionProposalComputer.html .
Previous Topic:Flex Builder plugin for Helios 64 bit + WTP
Next Topic:Extending palette Web Page Editor
Goto Forum:
  


Current Time: Fri Jul 04 06:50:25 EDT 2025

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

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

Back to the top