Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reindent on insert #302

Open
pokey opened this issue Oct 20, 2021 · 0 comments
Open

Reindent on insert #302

pokey opened this issue Oct 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@pokey
Copy link
Member

pokey commented Oct 20, 2021

There is a setting in vscode (editor.autoIndent), that determines whether the editor will "automatically adjust the indentation when users type, paste, move or indent lines.". We should read this setting, and if it is set to "full", we should fix indentation on the inserted text after inserting in BringMoveSwap. We can do so by selecting the text and running editor.action.reindentselectedlines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant