Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSDT Open js File Can not ContentAssistProcessor
JSDT Open js File Can not ContentAssistProcessor [message #648257] Wed, 12 January 2011 06:10 Go to next message
robin Missing name is currently offline robin Missing nameFriend
Messages: 16
Registered: November 2009
Junior Member
I have a MultiPageEditorPart that create js editor page. And this page extends CompilationUnitEditor. Because the js context info has been saved in outside of the worksapce.So create fileInput by FileStoreEditorInput. But I found this editor page can't ContentAssistProcessor.
The UI error info is Cannot access JavaScript file.
The Console error log is:
JavaScript Model Exception: JavaScript Model Status [Index out of bounds]
at org.eclipse.wst.jsdt.internal.core.Openable.codeComplete(Ope
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeCompl ete(
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeCompl ete(
at nContext.computeKeywordsAndContext(JavaContentAssistInvocati
at nContext.getKeywordProposals(JavaContentAssistInvocationCont
at nProposalComputer.computeCompletionProposals(TemplateComplet
at lComputerDescriptor.computeCompletionProposals(CompletionPro
at lCategory.computeCompletionProposals(CompletionProposalCateg
at essor.collectProposals(
And then I select eclipse file-->Opne File.. and choice a js file and open this editor.But this editor can't ContentAssistProcessor too.The error info is same as above.
Re: JSDT Open js File Can not ContentAssistProcessor [message #652186 is a reply to message #648257] Wed, 02 February 2011 22:31 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2578
Registered: July 2009
Senior Member
Does the same input work properly in the JavaScript Editor? Is this a FileStoreEditorInput you created yourself?

Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Need help with instalaltion.
Next Topic:Deploying an eclipse module to multiple locations on the same server
Goto Forum:

Current Time: Sat Nov 28 02:23:41 GMT 2015

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

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