Komodo Picks up file Indentation prefs regardless of Existing settings

Regardless of what settings are, Komodo 9.0 to 9.3 bases its indent preferences on the first indent it finds in the file. It’s annoying when working with Javascript like this:

var x={
        y:2
    }

the whole file indents by 4 characters regardless my all settings set up to preferring tabs over spaces and 2 spaces per indent + 2 spaces tab width. Also allow file contents to override… is unchecked everywhere. If I change file to:

var x={
    y:2
    }

tab works as expected.

This is serious bug that makes files unreadable and hard to work with. It was never a problem with Komodo 8.5 and earlier so it’s not a “causation” you mentioned. It is the same after deleting .komodoedit folder.

Adrian

PS. Im on Kubuntu 14.04.

I’m seeing this too @adriank. Really strange that no one has hit this yet.

I’ve filed a bug for it. Please have a look and make sure I didn’t miss anything: https://github.com/Komodo/KomodoEdit/issues/995

  • Carey