IntelliJ formatter settings

Answered

Dear JetBrains community,

I want to just ask that if we can generate default formatted settings of IntelliJ Idea Community edition from a script.

Please put a light on it.

Thank You.

4 comments
Comment actions Permalink

Code Style Settings as well as Inspection Settings can be exported to XML via Settings  dialog https://www.jetbrains.com/help/idea/copying-code-style-settings.html

1
Comment actions Permalink

What do you mean with "default formatted settings"? What is the output?

0
Comment actions Permalink

Sorry, it was bit cloudy question above.

I am now contributing to checkstyle community, which is a tool for static code analysis. 

Since IntelliJ is most popular javaIDE, it is very important to write checkstyle-configurations that matches default java formatting and inspection rules of IntelliJ.

I just want to know how can I extract all the default java formatter and inspection rule setting of IDE.

Because IntelliJ is progressive community, it is very much obvious that it can modify some of its code formatting abilities in future, I want to write some code that can automatically generate all the default codeStyles and inspection rules of IDE.

 

Any help is highly appreciated.

ThankYou.

0
Comment actions Permalink

Thankyou Yann, It is very helpful.

0

Please sign in to leave a comment.