wistful / SublimeAutoPEP8

Automatically formats Python code to conform to the PEP 8 style guide using autopep8 and pep8 modules
144 stars 23 forks source link

Automatically Format on Save the First Time? #26

Closed jackmaney closed 10 years ago

jackmaney commented 10 years ago

Hello,

I'm in the process of learning Python, and I've found this plugin to be extremely useful.

In my workflow, I have format_on_save set to true. However, saving changes to Python files with this option seems to take two presses of Ctrl+s: the first to format, and the second to save.

Would it be feasible to either alter the feature so that only one save is required (or have a separate setting, eg auto_format_on_save or some such)?

Thank you for your time.

xsleonard commented 10 years ago

+1, this plugin is unusable without this