What problem are you trying to solve?
I am trying to duplicate the configuration between .editorcofig and OpenRewrite.
Describe the solution you'd like
I would like OpenRewrite to infer TabsAndIndentsStyle settings from https://editorconfig.org/ settings
Have you considered any alternatives or workarounds?
Frankly speaking, I have not.
Additional context
https://editorconfig.org/ is a well-known standard for configuring common IDE settings, and many IDEs support .editorconfig files natively.
It would be great if OpenRewrite could reuse the settings from there.
.editorconfig settings are flexible: the settings can be divided into several files, and the indent style can vary across files.
See https://github.com/pgjdbc/pgjdbc/blob/9cf9f36a1d3a1edd9286721f9c0b9cfa9e8422e3/.editorconfig#L31-L43
I am about to integrate OpenRerwite, so I am not sure I would have time to implement editorconfig support.
What problem are you trying to solve?
I am trying to duplicate the configuration between
.editorcofigand OpenRewrite.Describe the solution you'd like
I would like OpenRewrite to infer
TabsAndIndentsStylesettings from https://editorconfig.org/ settingsHave you considered any alternatives or workarounds?
Frankly speaking, I have not.
Additional context
https://editorconfig.org/ is a well-known standard for configuring common IDE settings, and many IDEs support
.editorconfigfiles natively.It would be great if OpenRewrite could reuse the settings from there.
.editorconfigsettings are flexible: the settings can be divided into several files, and the indent style can vary across files.See https://github.com/pgjdbc/pgjdbc/blob/9cf9f36a1d3a1edd9286721f9c0b9cfa9e8422e3/.editorconfig#L31-L43
Are you interested in contributing this feature to OpenRewrite?
I am about to integrate OpenRerwite, so I am not sure I would have time to implement editorconfig support.