Nevermind I found it if you are in a project: close the project: menu file -> close project in the welcomescreen choose configure -> settings
in template project settings menu codestyle choose use tab character and choose all other programingstyles and check the "use tab character" done