focusaurus / atom-format-shell

Format shell script from within atom text editor
MIT License
6 stars 1 forks source link

format on save #1

Closed iu0v1 closed 7 years ago

iu0v1 commented 7 years ago

Hello.

May I ask to add this feature, please? :)

focusaurus commented 7 years ago

I can attempt to code it next time I have some time available. I'd also merge a pull request for it if you have time to code it up. I expect it will be mostly researching a similar package that already does this and mostly a copy/paste job of the necessary code for the preference boolean flag and the plugin behavior.

iu0v1 commented 7 years ago

Sounds fairly. I will try to make it the next few days. Thanks.

focusaurus commented 7 years ago

Looks great, thanks. I tested it locally and seems to work. For some reason atom won't show a "Settings" GUI for me on this package but it does respect my config.cson edits so dunno.

iu0v1 commented 7 years ago

For some reason atom won't show a "Settings" GUI for me

Tested on linux and windows - for me all seems fine. But on both installed atom 1.13.*. 0

I will try to install the fresh version and test package on it. But will make it after work, most likely in the evening (by my utc :)). As I will finish - I will report about results.

iu0v1 commented 7 years ago

I will report about results

0

1.14.3 - works for me.