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.
Please sign in to leave a comment.
What do you mean with "default formatted settings"? What is the output?
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.
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
Thankyou Yann, It is very helpful.