Skip to content

Conversation

@aiday-mar
Copy link
Contributor

@aiday-mar aiday-mar commented Mar 21, 2024

Indenting the code when an arrow function is encountered where the arrow is followed by whitespace only (so no brace).

Fixes #208215

Screen.Recording.2024-03-21.at.11.24.58.mov

@aiday-mar aiday-mar self-assigned this Mar 21, 2024
@aiday-mar aiday-mar changed the title adding pattern in order to indent the next line Indent next line when arrow function arrow followed by whitespace Mar 21, 2024
@aiday-mar aiday-mar requested a review from hediet March 21, 2024 09:44
@aiday-mar aiday-mar marked this pull request as ready for review March 21, 2024 09:44
@vscodenpa vscodenpa added this to the March 2024 milestone Mar 21, 2024
@aiday-mar aiday-mar merged commit d15b187 into main Mar 21, 2024
@aiday-mar aiday-mar deleted the aiday/indentNextLineWhenArrowFunctionUsed branch March 21, 2024 16:01
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 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.

Auto-indent: incorrect indentation after Enter of arrow in arrow function

4 participants