mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +08:00
Update CONTRIBUTING.md
This commit is contained in:
parent
2dfe6d3a91
commit
cda19862e5
@ -18,6 +18,14 @@ If your feature aims to cover something not related to editing nodes, it general
|
|||||||
Skim through the code and you'll get the hang of it quickly.
|
Skim through the code and you'll get the hang of it quickly.
|
||||||
* Methods, Types and properties PascalCase
|
* Methods, Types and properties PascalCase
|
||||||
* Variables camelCase
|
* Variables camelCase
|
||||||
* Public methods XML commented
|
* Public methods XML commented. Params described if not obvious
|
||||||
|
* Explicit usage of brackets when doing multiple math operations on the same line
|
||||||
|
|
||||||
|
## Formatting
|
||||||
|
I use VSCode with the C# FixFormat extension and the following setting overrides:
|
||||||
|
```json
|
||||||
|
"csharpfixformat.style.spaces.beforeParenthesis": false,
|
||||||
|
"csharpfixformat.style.indent.regionIgnored": true
|
||||||
|
```
|
||||||
* Open braces on same line as condition
|
* Open braces on same line as condition
|
||||||
* 4 spaces for indentation.
|
* 4 spaces for indentation.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user