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

unable to edit default settings #51

Closed rdgao closed 6 years ago

rdgao commented 6 years ago

this might be a really dumb question so apologies in advance:

in trying to change some settings for AutoPEP8, I navigated to the default settings file:

image

however, on saving that file, this error message pops up: image

I have also tried adding a user settings file under ST3/Packages/User, but that does not seem to do anything. What is the correct way of changing lint settings, e.g. max line length?

rdgao commented 6 years ago

i should also add that the default settings file does not allow for editing, in addition to not being able to find/save it.

wistful commented 6 years ago

Default settings aren't editable by design. However, one should be able to change user settings. The path from screenshot ${packages}/AutoPEP8/AutoPep8.sublime-settings is not used anymore: it was changed to ${packages}/User/AutoPep8.sublime-settings two years ago. Perhaps reinstalling plugin will help. Current version is 1.3.6.

rdgao commented 6 years ago

I've placed the settings file in the above directory and things are as expected now. Thank you!