Clean trailing whitespace on save

Previous versions of Komodo had a set of options for fixing whitespace on save:

  • Clean trailing whitespace and EOL markers
  • Ensure file ends with EOL marker

I cannot find equivalent options in Komodo 9. Where is it hiding?

That second option is of particular significance to me, having once spent a whole week debugging some assembly language that was missing an EOL marker. The compiler would quietly skip the last line if it didn’t end with EOL. Worst bug of my life. Komodo’s automatic correction of this is one of my favouite features.

They are under Preferences - File Saving category (to see the category enable Show Advanced)

2 Likes

Thanks! Didn’t see the new ‘Show Advanced’ tickbox.