Search code examples
javaintellij-ideaformattingeditorconfig

How to set "Editor > Code Style > Java" parameters from Intellij by .editorconfig file?


Ok! I can set rules of formatting by putting an .editorconfig file in the root path of the project. But how can I set the "Editor > Code Style > Java" using this .editorconfig file?

In other words, what I need is to know how to import this file to config the Code Style section.

I need this to updated .editorconfig when necessary.

enter image description here


Solution

  • you can't. The settings defined in .editorconfig are not visible in the CTRL+ALT+S - Code style. we have just the message "Settings may be overriden by EditorConfig"