Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

New lines between smashed files #21

Open
jisaacks opened this issue Feb 9, 2014 · 3 comments
Open

New lines between smashed files #21

jisaacks opened this issue Feb 9, 2014 · 3 comments

Comments

@jisaacks
Copy link

jisaacks commented Feb 9, 2014

I really like this module. I personally prefer to have a new line inserted between the smashed files. I am sure you are aware this could be done very easily.

In this line:

s.write(data, callback);

If you change it to:

s.write(data + "\n", callback);

It would add a line break between each file. I am assuming you would prefer to not have the line break, but I thought it might be acceptable as a command line argument to add the new lines. Or possibly let the user specify whatever delimiter they wanted.. defaulting to none.

If you think this is reasonable, I could do the work myself and make a PR.

Let me know, thanks.

@pakastin
Copy link

pakastin commented May 6, 2015

Sublime Text: Preferences › Settings › User, then add line:

"ensure_newline_at_eof_on_save": true

Atom: https://github.com/atom/whitespace

;)

@jisaacks
Copy link
Author

jisaacks commented May 6, 2015

Thanks @pakastin I believe I was trying to get an entire empty line between smashed files. But this was over a year ago so I don't remember.

@pakastin
Copy link

pakastin commented May 6, 2015

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants