returnToInnocence opened a new issue, #2485:
URL: https://github.com/apache/incubator-hugegraph/issues/2485
### Feature Description (功能描述)
# background
While working on #2457, we noticed that we were using both
hugegraph-style.xml and.editorconfig to control the style of our code, so we
wanted to try combining the functionality of these two files into a single file
# Feature Description
- Migrate the code format control configuration to `.editorconfig`
# some other advantages
- The.editorconfig file can define coding conventions that cannot be defined
by hg-style.xml, such as `insert_final_newline`
- The.editorconfig file does not require the user to make any additional
configuration, such as importing code style. If this file exists in the
project, it will be automatically invoked by default, and code sytle will be
overwritten
That is, if user allow IDEA's EditorConfig support to be enabled
# reference
- [apache-dubbo](https://github.com/apache/dubbo/pull/13622)
- [IDEA official documentation about
EditorConfig](https://www.jetbrains.com/help/idea/editorconfig.html)

# How do I test the correctness of the results
- TODO(It's a shame that I don't have a practical way to make sure it's
correct, right😭)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]