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

Support for the Python Language Server #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mariusae
Copy link

@mariusae mariusae commented Jan 5, 2022

PYLS has two quirks: first, it requires that window/showStatus is implemented; second, on formatting it replaces the full text, which causes a bad user experience in acme.

This PR addresses both of these by (1) implementing window/showStatus, and (2) breaking up full-replacement texts into a patch that in turn is converted into fine-grained text edit commands.

Some servers require this to be implemented. We log the status
message, and never provide any return actions.
Replacing the full text causes acme to loose its cursor position, creating a
very confusing user experience.
@fhs fhs self-requested a review February 13, 2022 02:01
@fhs fhs self-assigned this Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants