How do I edit a smarty tpl file with Eclipse?
With eclipse3.4, file associations and types are all set, but why can't I always open the. tpl file?
Always prompt
Could not open the Editor:editor Could is not being initialized.
Java.lang.NoSuchMethodError:org.eclipse.php.internal.core.documentModel.parser.PhpLexer.getYy_buffer () [C
At ORG.ECLIPSE.PHP.SMARTY.INTERNAL.CORE.DOCUMENTMODEL.PARSER.SMARTYTOKENIZER.DOSCANENDPHP (Smartytokenizer.java : 845)
At Org.eclipse.php.smarty.internal.core.documentModel.parser.SmartyTokenizer.primGetNextToken ( smartytokenizer.java:2372)
At Org.eclipse.php.smarty.internal.core.documentModel.parser.SmartyTokenizer.getNextToken (Smartytokenizer.java : 1144)
At Org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getNextRegion (xmlsourceparser.java:180)
At Org.eclipse.php.smarty.internal.core.documentModel.parser.SmartySourceParser.parseNodes ( smartysourceparser.java:84)
At Org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions (xmlsourceparser.java:164)
At Org.eclipse.wst.sse.core.internal.text.structureddocumentreparser._core_reparse_text ( structureddocumentreparser.java:309)
At Org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse ( structureddocumentreparser.java:708)
At Org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse (Structureddocumentreparser.java : 1352)
At Org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse (Structureddocumentreparser.java : 1284)
At Org.eclipse.php.internal.core.documentModel.parser.PhpStructuredDocumentReParser.reparse ( PHPSTRUCTUREDDOCUMENTREPARSER.JAVA:81)
At Org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel (basicstructureddocument.java:2708 )
At Org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText ( basicstructureddocument.java:1925)
At Org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText (basicstructureddocument.java:2414 )
At Org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set (basicstructureddocument.java:2930)
At Org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent (Resourcetextfilebuffer.java : 580)
At Org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent ( resourcetextfilebuffer.java:290)
At Org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create (resourcefilebuffer.java:241)
At Org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect (textfilebuffermanager.java:112)
At Org.eclipse.ui.editors.text.TextFileDocumentProvider.createFileInfo (textfiledocumentprovider.java:557)
At Org.eclipse.ui.editors.text.TextFileDocumentProvider.connect (textfiledocumentprovider.java:476)
At Org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput (abstracttexteditor.java:3991)
At Org.eclipse.ui.texteditor.StatusTextEditor.doSetInput (statustexteditor.java:190)
At Org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput (abstractdecoratedtexteditor.java:1325)
At Org.eclipse.ui.editors.text.TextEditor.doSetInput (texteditor.java:165)
At Org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput (structuredtexteditor.java:1954)
At Org.eclipse.ui.texteditor.abstracttexteditor$19.run (abstracttexteditor.java:3026)
At Org.eclipse.jface.operation.ModalContext.runInCurrentThread (modalcontext.java:458)
At Org.eclipse.jface.operation.ModalContext.run (modalcontext.java:366)
At Org.eclipse.jface.window.applicationwindow$1.run (applicationwindow.java:758)
At Org.eclipse.swt.custom.BusyIndicator.showWhile (busyindicator.java:70)
At Org.eclipse.jface.window.ApplicationWindow.run (applicationwindow.java:755)
At Org.eclipse.ui.internal.WorkbenchWindow.run (workbenchwindow.java:2487)
At Org.eclipse.ui.texteditor.AbstractTextEditor.internalInit (abstracttexteditor.java:3044)
At Org.eclipse.ui.texteditor.AbstractTextEditor.init (abstracttexteditor.java:3071)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.