Sublime Forum

Indent using tabs per default

#1

I can’t find the setting to make “Indent using tabs” default, or disable “indent using spaces”, especially for new files

0 Likes

#2

I can’t find the setting to make “Indent using tabs” default,

Using tab indentation is already the default behavior for new views (you can use safe mode to verify this), which is controlled by

	// Set to true to insert spaces when tab is pressed
	"translate_tabs_to_spaces": false,

However, for a file, ST detects the indentation and use it. If you want to disable that for whatever reason,

	// Set to false to disable detection of tabs vs. spaces on load
	"detect_indentation": false,
1 Like