Hello There, Guest! Login or Register


Tabs and spaces: tabs will be prohibited in the gamemode's code
#1
Some people use tabs, some people use spaces. Some use both. However, a kitten dies for every inconsistency introduced in the gamemode. We need to stop this.

The usage of tabs will be prohibited. Instead, set up your editor to use spaces. Indenting will happen at four spaces per block.

I'll soon commit a change which translates all tabs to spaces. I'll also modify the pre-commit hook to block your commit if it contains tabs. The Pawn Editor will use spaces automatically.

Thank you!
Reply
#2
Awesome, thank you!
Reply
#3
The pre-commit hook comes in handy. Thanks!  :)
Reply
#4
Tabs are now prohibited per the pre-commit hook. This means that if you try to commit something and your editor (or you..!) inserted tabs in the code, it will be rejected.

Please use the LVP Pawn Editor unless you really can't. It's quite a convenient program, and has auto-complete for LVP classes!
Reply