Skip to content

Releases: kbrose/vsc-python-indent

v1.7.0

13 Nov 05:10

Choose a tag to compare

Scroll the window when pressing Enter near the bottom of the window/out of view.

v1.6.1

13 Nov 04:38

Choose a tag to compare

Bump python-indent-parser version

v1.6.0

13 Nov 03:53

Choose a tag to compare

  • Fix incorrect indentation when pressing enter on lines with an open bracket, but no closing bracket. (#49)
  • Switch to centralized python parsing library shared by the python-indent package for Atom (thanks @DSpeckhals)

v1.5.0

14 Aug 01:25

Choose a tag to compare

  • If your cursor is in the middle of a comment when you press Enter, then the next line is auto-commented as well.
  • Small updates to README

v1.4.0

30 Jul 05:29

Choose a tag to compare

  • Better dedentation handling of else: and similar keywords.
  • Updated README

v1.3.0

30 Jul 02:44

Choose a tag to compare

Indent the next line if you use a backslash to do a line continuation.

E.g.

# Before:
long_calculation = 1234 + \
5678

# After
long_calculation = 1234 + \
    5678

v1.2.0

24 Jul 01:59

Choose a tag to compare

Fix unexpected dedenting when you have variables named like return_this_value.

v1.1.0

14 Jul 20:10

Choose a tag to compare

Allow extension to work if text is highlighted when Enter is pressed.

v1.0.0

26 Jun 04:16

Choose a tag to compare

Seems stable enough to put into 1.0 status (knock on wood).

v0.9.0

26 Jun 04:03

Choose a tag to compare

  • Dedent current line on else, elif, except, and finally statements
    • NOTE: You no longer need to manually un-indent on these lines, just press Enter and it will be un-indented for you.
  • Don't dedent on keywords if they appear in triple quoted string.
  • Update demo gif to showcase improved dedent behaviors.