Closed joshlit closed 8 years ago
Not really what sure to do about the indentation, my IDE (Visual Studio 2015) automatically uses tabs instead of spaces, but a lot of files in the repository right now use spaces. This makes my commits look really messy and insane, I'm not sure if we should change the repository to use tabs instead of spaces or if I should change my Visual Studio settings?
Hi @joshlatimer
to change the indentation mode for VS, go to:
Tools > Options... > Text Editor > All Languages > Tabs
or if you want specifically for C#
Tools > Options... > Text Editor > C# > Tabs
then, enter:
Tab Size: 4
Indent size: 4
Furthermore, the automated build failed, so please take a look at that, too (click on the little x next to the commit hash)
Well done, sir!
That's done thanks, so is there anyway I can undo all the indentation changes? or should I just delete this pull request and redo the changes to the actual framework? or maybe I should just fix the indentation in the files I've already changed with this pull request? because for example some files like https://github.com/ThanosSiopoudis/FMScoutFramework/blob/master/Entities/Ingame/ClubFinances.cs have screwed up indentation at the moment.
Lemme know what you think is best!
I haven't tried it myself, but apparently you can automatically convert tabs to spaces in VS by doing the following:
Please try this first, and if it fails, I'm afraid you'll have to make another pull request. All three OSes have different tab widths, and the only way to keep the code consistent across all of them are spaces.
After you're done with this, I have a couple of questions regarding the PR :) Thanks
Fixed Nations Fixed Person.Club Fixed issue with ProcessManager.ReadString extra pointer Fixed club wage budget Fixed contract bonuses & clauses Fixed indentation of some files