python - PyDev tab alignment in inline comments -


i'm sure there easy fix this, i've scoured preferences , haven't been able find option appropriate sounding name.

here's simple example, top line isn't in code, there illustrate every 4th character position:

#    #    #    #    #    #    #    # = 2     #        2 b = "ab"  # else    foo 

between "something" , "two" hit <tab> twice, between "something else" , "foo" hit <tab> twice.

my expectation using tab inside comment insert necessary spaces next tabstop (the way tab outside of comment works) instead, pressing tab inserts 4 spaces, regardless of column you're in.

this doesn't happen in eclipse inside java project, leaves me believe it's pydev thing.

just clear, expected hitting tab twice on first line , once in second produce:

#    #    #    #    #    #    #    # = 2     #         2 b = "ab"  # else    foo 

thanks in advance simple fix.

p.s. hesitant tagging python, if there's user edit privileges wants untag it, wouldn't offended in least.

this expected in pydev right now.

as note if want implement that, related place is:

org.python.pydev.editor.autoedit.pyautoindentstrategy.customizedocumentcommand -- tests @ org.python.pydev.editor.pyautoindentstrategytest.

this enters case "if (!contenttype.equals(parsingutils.py_default))" don't handle expected tab-stops we'd on code partitions (i.e.: org.python.pydev.editor.autoedit.pyautoindentstrategy.handletab).


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -