Configuring eclipse code formatter for just a single project
Hi community. Long time user, first time posting.
I have a project that will be worked on by vscode users, eclipse users, and intellij users. We have an extensive team code formatter file in eclipse format:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="22">
<profile kind="CodeFormatterProfile"…
that is stored in the root of my java/gradle project. Both vscode and eclipse can be configured to use this formatter, but I can't figure out how to get IntellIJ IDEA Ultimate to use this formatter file for JUST this project (or any projects that contain the file). I do NOT want to use this on any other projects that I use, so I don't want to make it my editor default. Basically I want it to work like editorconfig, only with richer formatting options.
What is the best practice in this situation?
Thanks!
Tony
Please sign in to leave a comment.
If it's not already supported, I'd file a request for https://github.com/krasa/EclipseCodeFormatter.
Thanks, that seemed to do the trick!