Java – how to export all my IntelliJ code styles to Editorconfig file?

I tried to develop a standard code style for my project, and I've found it http://editorconfig.org/ , this is a standard I like it very much. IntelliJ supports it (we use IntelliJ)

But I read a lot, and I didn't find out how to export all my IntelliJ code styles to Editorconfig file I can only export them as XML for IntelliJ only

Is there any web page where I can read all the editorconfig domain specific Java properties? In the year of editorconfig GitHub wiki, there were only a few of them

Solution

Get "file – > settings – > editor – > code style" There is an editor configuration option at the bottom of the right pane, which now includes an "export" button This will export only the formatting options available in the editor configuration specification To include advanced options for idea, you will have to save IntelliJ specific files using the project

Before, in stackoverflow

Export to is not supported since December 2007 editorconfig. The current plan is to support this feature from IntelliJ / webstorm version 2016.3

For more information, see the youtrack ticket requested by this feature (web-15687)

https://youtrack.jetbrains.com/issue/WEB-15687

Edit:

The following is updated information about EAP According to the ticket, this function should be available (not tried yet)

https://confluence.jetbrains.com/plugins/servlet/mobile#content/view/78841064

Or just Google "IntelliJ EAP 2016.3"

Editor: September 21, 2016

Test in EAP and its work Please note that there is no confirmation or other indication that the file has been created successfully

I can install EAP next to the normal version, create a file using EAP, and then use the file in the official version

Editor: December 21, 2016

IntelliJ IDEA 2016.3 Build#IU-163.7743. 44, built on November 17, 2016

This version has for export The final version of the editorconfig property

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>