![]() Feel free to offer suggestions too this is my first Atom package! □ĮDIT: I just added a couple of features to the python-indent package to cover the "hanging" indent suggested by some. I hope this helps to fill the gap for those hesitant to write Python in Atom. In the meantime, I wrote a relatively simple package that hooks into Python new line events, and indents/unindents based on PEP8 style: python-indent. ![]() atom/atom ffee and atom/language-python do not currently leave room for this from what I can see. Necessity to look back multiple lines to the corresponding opening delimiter after the "fluid/dynamic" indentation is complete.It looks like there's an optional column param in the code that would give an offset back from the tab setting, but I don't see it utilized anywhere yet. Necessity to indent at a level not divisible by the current tab-width. ![]() I think a long term solution would require changes to both atom/atom and atom/language-python. I scanned through the core editor code, and definitely see the complication with adding some forms of Python indentation to language-python.
0 Comments
Leave a Reply. |