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

Drop dedent-on-enter for "return" statements. #6939

Merged

Conversation

ericsnowcurrently
Copy link
Member

(for #6813)

We'll work on adding support back in #6564.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Appropriate comments and documentation strings in the code
  • Has sufficient logging.
  • [ ] Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • [ ] Test plan is updated as appropriate
  • [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • [ ] The wiki is updated with any design decisions/details.

Copy link

@kimadeline kimadeline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only got a couple of questions about (╯°□°)╯︵ ┻━┻ sǝxǝƃǝɹ

src/client/language/languageConfiguration.ts Show resolved Hide resolved
src/client/language/languageConfiguration.ts Show resolved Hide resolved
src/client/language/languageConfiguration.ts Show resolved Hide resolved
Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ericsnowcurrently
Copy link
Member Author

Thanks for the review, @kimadeline. I'd like to talk with you about this PR a bit more, especially since it refactors a bunch of the code that you original wrote. I'll ping you.

Also, note that to make this PR work I un-reverted #6497 and then removed the indentationRules part right after that. I'm pretty sure I have it right, especially since the same tests pass, but please pay extra attention to make sure I didn't miss something and accidentally re-introduce the bad behavior we reverted. Thanks!

@ericsnowcurrently ericsnowcurrently dismissed kimadeline’s stale review August 13, 2019 17:11

need to merge this and Don already reviewed (will still check with Kim)

Copy link

@kimadeline kimadeline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you 👍

@ericsnowcurrently ericsnowcurrently merged commit 11dd074 into microsoft:master Aug 13, 2019
@ericsnowcurrently ericsnowcurrently deleted the drop-return-dedent branch August 13, 2019 20:05
@lock lock bot locked as resolved and limited conversation to collaborators Aug 20, 2019
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.

3 participants