Ever since I installed Komodo10, I’ve had a problem where I periodically get 24 spaces per tab in my Python files. I believe I fixed this once by performing “reset everything”. I’m not sure if that was what fixed it since I tried nuking alot of different files. The problem came back yesterday. This time it’s only affecting one file.
“Reset file preferences” and “reset caches” did not fix it.
My tab settings in Editor=>Preferences=>Indentation are:
preferet tab characters over spaces
[4] spaces per indent
[4] width of each tab
Edit=>Current file preferences shows the same settings.
The problem is still present after unchecking that checkbox. I use tabs.
When I open the problem file in Visual Studio the indentation is identical to every other file. It may be unrelated but I once had this problem on other files in Komodo 8.5 but I was able to see a setting of 23 (or something like that) when I opened ‘current file preferences’.
Can you create a file with this problem? Or is it literally specific to that one file? (e.g. copy pasting all content from the problematic file into a new one doesn’t exhibit this problem; note I’d recommend using another program to do the copy-paste just to be safe)
I did a copy/paste in explorer to create “test.py”, opened it in komodo, and see the same indentation problem
Next I opened the file in visual studio, did a select all, opened test.py, pasted the file contents, and opened it in Komodo. The indentation is still at 24 spaces per tab.
Another test I performed: open the file in Komodo, select all, copy, file=>new file, and paste. The indentation looks good at this point. If i perform save-as to test.py the indentation goes back to big tabs.