Komodo IDE keep/add new/blank line at EOF


#1

Hi all,

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


#2

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

#3

Hi @careyh,

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

M.


#4

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.


#5

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