Hi all,
How to keep/add new line at the EOFon save for example to keep code standards automatically?
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.
Under preferences > file saving you got a option to ensure the file ends with a EOL marker:
If this not is what you’re searching for, I think you can achieve this with a simple userscript on save.
That’s what I need. Tested on different tille types. Working well. Thanks.