Just enable it... ;)
(Unfortunately the setting is off by default.)
Menu Settings → Editor → Code Style.
Checkbox Enable EditorConfig support

Just enable it... ;)
(Unfortunately the setting is off by default.)
Menu Settings → Editor → Code Style.
Checkbox Enable EditorConfig support

Make sure to follow the steps in Michal's answer first. If you want to retroactively apply this editorconfig to your existing files, do the following:
- I recommend committing all your files to Git, so you can reset to that commit if things did not go as planned.
- Make sure you have a
.editorconfigyou are happy with. - In the
1:Projectsidepane, right-click on the folder you want to apply the.editorconfigto (e.g., the root folder of your project) - Choose
Reformat Code, which has the default shortcut Ctrl + Alt + L. - Select "Include subdirectories". None of the other options are required. Then click "Run".
Your files now follow your .editorconfig file configuration.


Hi,
I just got familiar with editorconfig and I am trying to make a good configuration file that I am going to use in multiple java projects.
I saw that IntelliJ has it's own properties and quite a big list, which is great, but I can't seem to find any explanation for all these properties.
Can someone point a documentation link or something that will help me with this.
Thanks
I have a javascript/apex project. I've created a editorconfig file but it only works for apex not for javascript. My config:
[*] indent_style = tab
When I reformat the code javascript stays indented with spaces
Edit: After trying to do the same in vs code it works. So it looks like intellijs fault