|StructuredTextEditor for Java Script [message #630429]
||Sat, 02 October 2010 10:22
| saurav sarkar
Registered: July 2009
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,
My Blog http://codifyit.blogspot.com/
Follow me: http://twitter.com/sauravs
Powered by FUDForum
. Page generated in 0.03131 seconds