Closed danielmagnussons closed 11 years ago
Could you please explain this ? I've just checked shortcuts in ST3(#3037) and AutoPEP8(1.0.2) on Linux: it works.
Im using window7, x64.
my fix; remove autopep8.sublime-package in Installed Packages/ and extract it into User/DataPackages/AutoPEP8/*
Restart sublime 3, search for pep, and "format" appears.
".no-sublime-package" automizes the extract thing i did in fix when installing with packagemanager
looks like plugin doesn't work with Windows(ST3) at all. The core issue is KeyError Exception: "There is no item named 'packages_py3\lib2to3\Grammar.txt' in the archive". Exception raises because ZipFile.extract(member, path=None, pwd=None) method waits member in Unix path, i.e. the correct member is 'packages_py3/lib2to3/Grammar.txt'. http://docs.python.org/3/library/zipfile.html?highlight=zipfile#zipfile.ZipFile.extract
No shortcuts worked in Sublime3.
Easy fix was to add .no-sublime-package, meaning package will not be packed in a *.sublime-package file.
Basic functionality is working now, ctrl+shift+p -> autoformat =)