Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ share code formatting settings in git repository

I do not want to commit the IntelliJ project file/folder to my git repository but I do want to share the formatting settings.

Ideally in a way such that IDEA automatically picks them up when opening the project after freshly checking it out so that me and my fellow colleagues can have a good time coding without worrying about the code style.

We're talking about a Scala project.

like image 437
scravy Avatar asked Mar 02 '26 06:03

scravy


1 Answers

Take a look at

http://editorconfig.org/

It's language agnostic and supported not only by Idea, but by Eclipse and e t.c.

like image 172
mavarazy Avatar answered Mar 04 '26 19:03

mavarazy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!