Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Specify SaveOptions in server capabilities #609

Closed
wants to merge 3 commits into from

Conversation

dmorawetz
Copy link

Similar to Pure-D/serve-d#320, this PR adds SaveOptions to ther server capabilities, to make some editors send a textDocument/didSave event.

I confirmed the fix with helix version 23.10.

includeText is set to false as I think the text is not used, but I am not familiar with this projects code.

Relevant docs: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_didSave

Related issue on Helix side: helix-editor/helix#3957

@priyamsahoo
Copy link
Contributor

@dmorawetz, this might not be the correct solution as it is breaking a lot of end-to-end tests with our supported VS Code Ansible extension. Please look into it.

@dmorawetz
Copy link
Author

Sorry for the late reply, but I am quite busy right now. I will take a look at it. Hopefully soon.

@ssbarnea
Copy link
Member

@dmorawetz I am closing this because work on ansible/vscode-ansible#1134 will require us to close all existing pull requests. Still, in few days you should be able to reopen it on the new location.

@ssbarnea ssbarnea closed this Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants