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)
   
![image](https://github.com/apache/incubator-hugegraph/assets/103014488/0eba0df1-b4b6-4dea-9104-b52ca3122ea3)
   
   # 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: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to