thank you for the reply. The files do look fine. Its a django project.
Pretty new to sublime, where does the detect_indentation go ?
I did project-> edit and added it to the project.sublime-project file but it doesn’t appear to do anything.
{
"folders":
{
"path": "/home/mark/workspace/djangoProject",
"file_exclude_patterns": ".*"],
"detect_indentation": false
}
]
}
[quote=“bizoo”]Heuristic algorithm based on first x lines of the file.
It’s detected for each file you open, so could be different for each file.
Works pretty good but sometimes get fooled if file begin with a lot of line with more than one indent (like 1 line with 1 indent followed by 50 lines with 2 indent).
If you’re sure all your files have the same indent settings, you can disabled it with:
"detect_indentation": false