Komodo IDE keep/add new/blank line at EOF

Hi all,

How to keep/add new line at the EOFon save for example to keep code standards automatically?

Hi @MaxA,

Off the top of my head and after a look in the prefs, I don’t recall there being an option for this. It seems like a task of whatever formatter you use to maintain your code standard though. I’d look there for whatever language you’re writing in.

  • Carey

Hi @careyh,

I’m using Komodo for phtml, js and XML as usual.

M.

Under preferences > file saving you got a option to ensure the file ends with a EOL marker:

afbeelding

If this not is what you’re searching for, I think you can achieve this with a simple userscript on save.

1 Like

That’s what I need. Tested on different tille types. Working well. Thanks.