如何将蚀代码模板文件导入到IntelliJ IDEA?

编程入门 行业动态 更新时间:2024-10-25 20:19:53
本文介绍了如何将蚀代码模板文件导入到IntelliJ IDEA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

关于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?

    本文发布于:2023-08-02 15:24:56,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1278880.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:如何将   导入到   模板   代码   文件

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!