在Eclipse IDE中创建自定义项目模板 [英] Make Custom Project template in Eclipse IDE
问题描述
您必须编写实现 org.eclipse.ui的Eclipse插件。 newWizards
扩展点。您可以扩展现有的新Java项目向导,并提供自定义项目布局实现(请参阅 API )。
I have been using Eclipse IDE for a long time. Its a really great IDE for Java/C/C++ (and other languages with its THOUSANDS of plugins). Every once in a while, I get the need for creating a Javax interface. To do this normally, I would setup the new java project then add what I need. But, wouldn't it be nice if I could just make a template project to automatically include the code for the files. How would I go about doing this? It it even possible? The Eclipse CDT can make a new project type. So can the Google ADT and Google App engine. So I would imagine it is possible. But how?
You must write your Eclipse plug-in that implements org.eclipse.ui.newWizards
extension point. You can extend an existing "New Java Project" wizard, and provide your custom project layout implementation (see the API).
这篇关于在Eclipse IDE中创建自定义项目模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!