Issue #4 invalid

Auto-indenting for Python

Anonymous avatarAnonymous created an issue

I've tried out your plugin, and while it works beautifully for HTML, I couldn't get it to work for Python. I open a new file, set the language to Python, start typing - no indenting. I use the "Reindent File" command - no indenting. What can I do to make it work?

Comments (2)

  1. Ben Bluemel

    Python has a bit of a conflict here, Python's fold points are generated dependent on indentation, and this plugin is dependent on fold points to know how to do the indentation.

    Not really much I can do about this I'm afraid.

  2. Anonymous

    I see. Could you please add a note somewhere that it doesn't support Python? I've seen this plugin being recommended specifically for development in Python, and I haven't seen anything (until your reply) that would point to it not working properly in this case. (Btw, I intend to keep using it - it'll at least come in handy for HTML, so thanks!)

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.