Sublime Forum

Reindent uses two spaces despite different settings

#1

Hi, I’m trying to reindent an XML file and sublime text inserts two spaces in spite of these settings:

"tab_size": 4,
"translate_tabs_to_spaces": false,

Are there other settings that influence the reindent command?

0 Likes

#2

are you sure you’re not overwriting this setting in your user settings or syntax specific settings?
where are you setting this?

0 Likes

#3

It’s likely indentation detection - sublimetext.com/docs/2/indentation.html

0 Likes

#4

Yes it’s probably that detection.

Sorry for not checking your answers earlier but I didn’t receive any email notification - do they work on this forum? I’ve checked my profile page and it seems that email notification should be enabled by default (sorry for OT).

0 Likes