Skip to content

Fix decreaseIndentPattern for javascript and typescript - #201425

Merged
Aiday Marlen Kyzy (aiday-mar) merged 2 commits into
microsoft:mainfrom
russelldavis:fix-autoindent-on-closing-paren
Mar 11, 2024
Merged

Aiday Marlen Kyzy (aiday-mar) merged 2 commits into
microsoft:mainfrom
russelldavis:fix-autoindent-on-closing-paren

Conversation

@russelldavis

Copy link
Copy Markdown
Contributor

Fixes #201424

It wasn't matching closing parens, which resulted in these issues:

  • Pressing enter with just a closing paren to the right of the caret wouldn't result in a dedent on the next line
  • With the caret at the start of the line below a line containing only a closing paren, pressing tab would result in an extra level of indentation

Fixes microsoft#201424

It wasn't matching closing parens, which resulted in these issues:
* Pressing enter with just a closing paren to the right of the caret
wouldn't result in a dedent on the next line
* With the caret at the start of the line below a line containing only a
closing paren, pressing tab would result in an extra level of
indentation
@vscodenpa VS Code Bot (vscodenpa) added this to the March 2024 milestone Mar 8, 2024
@aiday-mar
Aiday Marlen Kyzy (aiday-mar) merged commit c76d56c into microsoft:main Mar 11, 2024
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autoindent doesn't trigger on closing parenthesis

5 participants