Skip to content

Commit

Permalink
Remove some tabs, add note to styleguide about tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
tterrag1098 committed Jun 26, 2015
1 parent 44d2d44 commit 1340000
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ The intent with this is to create a curated *definitive* source of documentation

Feel free to submit pull requests related to documentation of Forge development here.

Note that PRs will generally be reviewed on a bi-weekly schedule on weekends. Don't expect this to be constantly being updated, though we will try and remedy egregious errors more quickly.
Don't expect this to be constantly being updated, though we will try and remedy egregious errors more quickly.
2 changes: 1 addition & 1 deletion blockstates/forgeBlockstates.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Forge has its own blockstate json format to accommodate for modders needs. It in

Note that all models and textures referenced are from vanilla minecraft. For your own mod, you have to use the full location! For example: "mymod:blocks/blockTexture".

You don't have to use Forge's blockstate format at all, you can also use the vanilla format!
You don't have to use Forge's blockstate format at all, you can also use the vanilla format!

## General structure of the format

Expand Down
7 changes: 7 additions & 0 deletions styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ We have a wiki elsewhere that can capture more comprehensive code examples.
Our audience is anyone who wants to understand how to build a mod using Forge.

Please don't try to turn this documentation into a tutorial on Java Development - it is intended for people who understand how a Java class works, and other fundamental structures of Java.

Formatting
----------

!!! important

Please use TWO SPACES to indent, not tabs.

5 comments on commit 1340000

@tterrag1098
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bonii-xx This was for you

Tabs are evil!

@Lunatrius
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth adding a note that back ticks should be used for stuff that references classes/variables/code.

@tterrag1098
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean back ticks ? :P

@z3t0
Copy link

@z3t0 z3t0 commented on 1340000 Jun 27, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean like this?

var code = 0;

@bonii-xx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tterrag1098 Yes. It wasn't my intention. I saw that Notepad++ inserted them as tabs too late. It also seems to rigorously mix the two, so that the first line contains spaces and the next one tabs. At least that explains the weird identing on github..

Please sign in to comment.