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

Enable on-type formatting from language server #2737

Merged
merged 2 commits into from
Oct 9, 2018

Conversation

jakebailey
Copy link
Member

For #2690.

Similar to #2612. Note that :-based formatting isn't implemented in language server yet (microsoft/python-language-server#165), but it hasn't been enabled in the extension for anyone for a while now either (fixed in #2714/#2724).

Since line formatting is relatively new in language server, this likely shouldn't make it out into a release until the language server downloaded by default is new enough to include that functionality. I haven't been monitoring that side of things, so feel free to hold off on merging this until the right time.

  • 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!)
  • Unit tests & system/integration tests are added/updated
  • Any new/changed dependencies in package.json are pinned (e.g. "1.2.3", not "^1.2.3" for the specified version)
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)

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.

Rejecting, to ensure this doesn't get merged for this release

@jakebailey
Copy link
Member Author

Turns out I forgot to add the news file before I made the PR (so it's good that this was waiting and not merged). It's added now.

@DonJayamanne DonJayamanne merged commit eecb4dd into microsoft:master Oct 9, 2018
@jakebailey
Copy link
Member Author

For reference, a block formatting port was merged in PLS in microsoft/python-language-server#217.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
@jakebailey jakebailey deleted the on-type-formatting-ls branch September 3, 2020 22:01
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.

2 participants