一旦找到更好的标题,我就会更改该帖子的标题..
我将要编写的是一个 Eclipse 插件,它允许人们为特定的微 Controller 创建一个新项目(哪个微 Controller 并不重要)。
我希望这个插件能够提供一些工具,例如我想配置构建器,使所有 C 文件都使用 SDCC 进行编译。 。
关于这个项目我想知道
- 我如何提供例如我的插件中包含 SDCC 编译器吗?
- 有什么好的教程可以演示如何做到这一点吗?
- 是否有我应该在插件开发中查看的推荐库?
- 是否有任何教程展示如何配置插件,以便有可用的标准运行配置(例如,项目是自动构建的,并且可以通过单击运行程序按钮来运行)
我是 Eclipse 插件开发的新手,因此欢迎提供与此相关的一般教程的进一步链接。
我已经找到www.eclipsepluginsite.com到目前为止这是一个很大的帮助。
感谢您提供任何信息。
最佳答案
How can I provide e.g. the SDCC compiler included inside my plugin?
你不知道。您要求用户向您提供 SDCC 编译器的链接。
Are there recommended libraries I should take a look at for plugin development?
已经加德pointed you前往 Vogella 教程。我用过这本书,Eclipse Plug-Ins ,学习Eclipse插件开发。
Are there any tutorials that show how to configure a plugin such that there is a standard running configuration available (such that e.g. the project is built automatically and can be run by clicking the runner button)
您可以查看 Eclipse 类 ImportOperation。它可以在 org.eclipse.ui.ide.source jar 中找到。源 jar 包含在 Eclipse RCP 中。该类执行将对象从本地文件系统复制到 Eclipse 工作区的实际工作。
我尝试附上源代码,但答案只能是 30,000 个字符或更少。
关于java - Eclipse插件开发: Deliver tools (e. g.编译器),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17675250/