Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.33 KB

CONTRIBUTING.md

File metadata and controls

48 lines (31 loc) · 1.33 KB

Please review te following:

Your files use tab indendation (keep tabs) of size 4

Visual Studio

Tools -> Options
Text Editor -> C# -> Tabs
Settings:
	Indenting: Smart
	Tab size: 4
	Indent size: 4
	Keep tabs CHECKED

Example Visual Studio

Notepad++

Tools -> Preferences
Language -> C#
Settings:
	[Default]
	Tab size: 4
	Replace by space UNCHECKED

Example notepad++

You edit in the TerraCustom solution, the chance is very slim you need another one!

To open this workspace, navigate to solutions/ and open TerraCustom.sln

Example solution

You use our code patcher, so you only commit patches

To open our code patcher, run setup.bat from the main directory. If you've worked in the TerraCustom workspace, you press 'Diff TerraCustom' This will create new patches containing your changes in the patches/ folder

Example patcher

You inspect your diffs (patches)

Before you commit or create a pull request, inspect your patches. Make sure nothing weird happened. Do not auto format vanilla files when possible, it can break things.

Diff example