You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @PsywolfTheEnder, thank you for opening the issue. I think this is also related to #65.
I'd probably accept an MR that accomplishes this, but I'm sorry to say I likely won't be putting in the effort to accomplish this. Here's my understanding of what would have to change, for what it's worth:
The handling of backslash continuations (which is missing from the left-hand image by the way) currently blindly indents the next line. See backlash detection and handling of partial indentations. This would have to be updated to know that it's the continuation of a specific kind of line (an if, def, else, etc. line) -- some sort of double-indent line?
The handling of if/def/else/etc. keywords also relies on the detection of a colon, and then indents the next line accordingly with special handling to know that if a colon occurs after a closing bracket, then the indentation level should be relative to wherever the bracket was opened.
Let's us enter in a code line like Pycharm IDE
It's should be looks like the right side of the image
The text was updated successfully, but these errors were encountered: