Is there some access to CodeMirrors settings in the .config/joplin-desktop or .config/Joplin? If there is, I did not find it. And if not, ... RFE. Can we turn this off somehow?
I'm not familiar with other ways that may exist to configure CodeMirror, but I have a plugin - Space Indenter - that exposes relevant CodeMirror settings to the user. At the moment it allows one to switch to indentation with spaces and to define the default indentation size. I can add smartIndent support in the next version as it seems associated with the plugin's main objective.
Oh! Nice! Yes ... spaces > tabs. So, that is welcome. But, indeed, I would love to just be able to turn the darn indenting off. If you could add that, that would be welcome.