简体   繁体   English

如何将编辑器模板放入 Eclipse 插件中?

[英]How do I put editor templates in an Eclipse plug-in?

I know how to put plain text and code in the editor.我知道如何在编辑器中输入纯文本和代码。 Is it possible to put an editor template programmatically in an Eclipse plug-in?是否可以以编程方式将编辑器模板放入 Eclipse 插件中?

If you are asking for an editor for plugin development then you can go for new -> plug-in project and then opt plugin with editor which creates a sample class and entry in plugin.xml which can be a start for you.如果您要求使用编辑器进行插件开发,那么您可以为的插件项目 go ->插件项目,然后选择带有编辑器的插件,该编辑器创建一个示例 class 并进入plugin.xml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM