CppCXY / EmmyLuaCodeStyle

fast, powerful, and feature-rich Lua formatting and checking tool.
MIT License
140 stars 27 forks source link

Add codesamples for namestyles to docs #178

Closed AndreaWalchshoferSCCH closed 5 months ago

AndreaWalchshoferSCCH commented 5 months ago

This PR adds more information about all the name style rules to the documentation.

I've had multiple instances of needing to clarify which rule applies to what kind of code to colleagues, again in the last few days, so I've now collected smaller examples to highlight and explain what each rule/configuration item does and what its default value is.

I'm absolutely okay with a different format, if you prefer, but it would be very convenient to have this kind of information in the name style docs.

The Chinese translation, again, was generated using ChatGPT (and thus may contain errors in the texts).