- Updated version of esbuild (a development-only dependency that will have no effect on extension behavior)
- Removed reference to theme used in the demo gif of the README
- The main parsing logic has been migrated from typescript to rust. The parsing is exposed to the rest of the extension code via web assembly. This should be more responsive.
- Allow extension to run in untrusted workspaces. See VS Code's documentation for more information.
- When using remote development, prefer to run extension on the host (instead of locally) to reduce lag.
- Fix dedent logic when the dedent keyword is preceded by a multi-line indent keyword
- Correctly delete selected text starting with space (fixes #96)
- Update CI system to use Node v16
- Update minimum compatible VSC version to 1.65
- Update development dependencies, including migrating linting from tslint to eslint
- State the name of the theme used in the demo gif
- Fixes changelog - I mislabeled several releases.
- Handles neovim mode in a similar way to vim mode.
- Fix innacuracy in README around comment-line continuation.
- Update CI system to use Node v10.
- Add GitHub Sponsors information
- Fix link in readme
- This extension has been installed half a million times. That's pretty cool.
- Added dontation link.
- Updated development-only dependency
y18n. - Refactored code to make it more testable.
- Updated required vscode version to 1.50 (September 2020 release)
- Whitespace to the right of the cursor will now be deleted when pressing
Enter. This only happens when there are non-whitespace characters to the left and to the right of the cursor, e.g. as in the casedef f(x,| y)(where|is the cursor) but not in the case|print(x)orprint(x)|. See the issue for more information.
- Add option to control whether hanging indents put the bracket on its own line or not.
- Update README to showcase new setting
trimLinesWithOnlyWhitespace.
- Lines that contain only whitespace can be trimmed after pressing
Enterusing the newtrimLinesWithOnlyWhitespacesetting. This defaults tofalse, i.e. lines are not trimmed. The new behavior more closely matches the native VSCode behavior. See issue 60 for a more complete discussion of the native behavior. - Update development dependencies to handle various deprecations and migrations. This has no effect on the dependencies needed to run the extension, just develop it.
The access token I use to publish this extension expired, which meant this version didn't get pushed. However, it still incremented the version number. ¯\_(ツ)_/¯
- Also handle
while...else.
- Update dedent logic to handle
for...elseandtry...elseconstructs.
- Scroll the window when pressing
Enternear the bottom of the window/out of view.
- Bump
python-indent-parserversion
- Fix incorrect indentation when pressing enter on lines with an open bracket, but no closing bracket.
- Switch to centralized python parsing library shared by the
python-indentpackage for Atom (thanks @DSpeckhals)
- 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
- Better dedentation handling of
else:and similar keywords.
- Indent the next line if you use a backslash to do a line continuation.
- Fix unexpected dedenting when you have variables named like
return_this_value.
- The extension now works if text is highlighted when the user presses Enter. Thanks @WhistleWhileYouWork!
- The package has been deemed stable enough for 1.0!
- Dedent current line on
else,elif,except, andfinallystatements- NOTE: You no longer need to manually un-indent on these lines, just press
Enterand it will be un-indented for you.
- NOTE: You no longer need to manually un-indent on these lines, just press
- Don't dedent on keywords if they appear in triple quoted string.
- Update demo gif to showcase improved dedent behaviors.
- Don't run extension if multiple cursors exist.
- Don't dedent if the special dedent keyword appears in special contexts, like in strings or as variable names. Thanks @chen19901225 for the inspiration!
- Update required version of vscode to resolve security vulnerability CVE-2018-20834.
- Fixed compatibility with the
vscodevim.vimextension.
- Re-syncing github and marketplace code histories
- Update hanging indent to work correctly when there is content to the right of your cursor.
Merged the first external pull request, thanks @chen19901225 🎉
- Fixed complex dedent cases like
return f(x)(y). - Turn on continuous integration for pull requests from forks.
- Run linter in continuous integration.
- Documentation updates
- Documentation updates
- New logo
- Fix hanging indentation
- Add option to make hanging indent snippet-style (press tab to go to ending bracket)
- Update keybinding condition to not override
Enteraccepting intellisense suggestion.
- Update activation events and keybinding condition to work in unsaved buffers. Resolves #2.
- Refactor to make testing easier
- Add a bunch of testing, now that it is easier
- Run tests on Azure Pipeline.
- First pass at correct indentation.
- Preserve un-indenting behavior with
return,pass, etc.