Quantcast
Viewing latest article 2
Browse Latest Browse All 4

Answer by Ofir Farchy for Automatic python code formatting in sublime

Try doing the following in command line (a bit brute force):

  1. Navigate into the Packages/PythonTidy folder,
    usually ~/.config/sublime-text-2/Packages/PythonTidy
    or ~/.config/sublime-text-2/Packages/SublimePythonTidy
    • If it's non-existent reinstalling using Package Control
  2. Inside there should be another PythonTidy folder (which in your case will be empty).
    Don't get into it, just check it is empty.
  3. Run git clone https://github.com/witsch/PythonTidy.git
  4. Restart sublime and check the console for errors (View -> Show Console)

P.S. If you are unable to start Sublime do a:

sudo pip uninstall PythonTidy

Then retry what I wrote above.


Viewing latest article 2
Browse Latest Browse All 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>