Your comments

Yes, I have tried to change the tab_size in the preferences but it seems like sublime doesn't even use that setting since it doesnt' change anything for me...

Also if i code in a regular notepad and then copy paste the code into sublime, it will still be normal where 1 tab = 4 spaces, so the problem only occurs when its from sublime to pure text