1. Ben Bluemel
  2. IndentByFold

Issues

Issue #4 invalid

Auto-indenting for Python

Anonymous 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 repo owner

    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