英文:
How to add same perspective in Eclipse in Other Projects?
问题
我已经在我的一个项目中保存了一个自定义的透视图,现在我想在我的另一个Java项目中再次使用同样的透视图,但是在查找透视图类别时,我的自定义透视图没有显示在新项目中,但在以前的项目中可见。
我希望我的透视图在我打开的所有Java项目上都自动应用。
是否有办法可以将我们的透视图导出为文件格式(如XML或Eclipse可以在导入时读取的其他格式),并在新项目上进行操作时,我们可以简单地使用导出文件进行导入。
我不知道解决办法,但我已附上图片供您参考:
Java CP 2是我的自定义透视图,但在另一个项目中看不到。
我该如何做才能使它在我的IDE中全局可见,目前,我必须手动为每个打开的项目设置透视图。
截图1 - Java CP 2透视图
截图2 - Java CP 2透视图不存在
英文:
I have saved a custom perspective in one of my projects and now I want to use that same again in my other java project but upon looking for perspectives category, my custom perspective is not showing up in the new project but is visible in the previous project.
I want my perspective to applied on all java projects which I ever I open automatically.
Is there any way we can export our perspective to a file format (like XML or something which eclipse can read on importing it again) and upon working on new project we can simply import them using the export file.
I don't know any solution to it but I have attached images for your references:
Java CP 2 is my custom perspective but it is not visible in another project.
How can I do something so that it is visible globally (in my IDE) and at present, I have to manually set up a perspective for each project I open.
Screenshot 1 - Java CP 2 Perspective
Screenshot 2 - Java CP 2 Perspective is not present
专注分享java语言的经验与见解,让所有开发者获益!
评论