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

Formatting on save inserts new lines. #25

Closed erbridge closed 10 years ago

erbridge commented 10 years ago

ST3 on Linux:

With auto format on save switched on, if I have some code selected when I hit save, AutoPEP8 inserts a newline at the end of the selection.

wistful commented 10 years ago

Please use option "avoid_new_line_in_select_mode": true to change default behaviour.