How to create an Intellij and Eclipse compatible code style and code formatting configuration (for java code)?

我怕爱的太早我们不能终老 提交于 2019-11-28 07:15:01

There is an updated plugin for IDEA, called Eclipse Code Formatter: http://plugins.intellij.net/plugin/?idea&id=6546

I would recommend someone spends the time to configure their IntelliJ's code style to be the same as Eclipse. This will take a little time and effort but once it is done, you can export it just like in eclipse so that any other IDEA users can import it.

You could also search online to see if anyone has already done this and you can simply download the code style config and use it.

The only alternative I can think of would be to find a standardized code style template that is available for both eclipse and IntelliJ, like the Recommended Sun Java Code Style.

There seems to be a plugin for that (emerged from this discussion).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!