关于Eclipse中的代码样式,有两个不同的文件:
There are two different files about code style in eclipse:
现在,我知道可以使用以下路径导入代码格式化程序文件:
Now I know the code formatter file can be imported with the path:
"settings -> code style -> import"但是我不知道如何导入代码模板文件,并且代码模板文件具有路径:
But I do not know how to import the code template file, and the code template file has the path:
"settings -> file and code template"在 intellij 中.
"settings -> file and code template" in intellij.
现在,我正在其他人使用eclipse的项目中进行编码,而他们只有eclipse代码模板文件.
Now I am coding in a project where other people use eclipse, and they only have the eclipse code template file.
有没有办法解决这个问题?
Is there a way to solve the problem?
推荐答案不幸的是,您无法直接导入代码模板 . 将来可能会改变.. blog.jetbrains/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/
Unfortunately you cannot import code templates out of the box. That might change in the future though.. blog.jetbrains/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/
您目前最好的选择是使该插件正常工作并尝试一下. code.google/p/eclipse2idea/ www.danhaywood/2009/10/11/converting-eclipse-templates-to-intellij-idea/
Your best bet for now is to get this plugin to work and give it a go.. code.google/p/eclipse2idea/ www.danhaywood/2009/10/11/converting-eclipse-templates-to-intellij-idea/
我在市场或更新站点上都找不到该插件. 祝你好运.
I couldn't find the plugin on the marketplace or an update site for it though. Best of luck..
更多推荐
如何将蚀代码模板文件导入到IntelliJ IDEA?
发布评论