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

[petanque] Allow clients to set file contents #790

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ejgallego
Copy link
Owner

This is useful for pytanque, however the PR in this form is likely not good, maybe we want instead to add a shell-specific setContents(uri, contents) call.

@ejgallego ejgallego added this to the 0.2.0 milestone Jun 13, 2024
@ejgallego ejgallego modified the milestones: 0.2.0, 0.2.1 Aug 29, 2024
@ejgallego ejgallego modified the milestones: 0.2.1, 0.2.2 Sep 26, 2024
This is mostly useful for `pet-server`, ignored in the LSP embedding.

An alternative design would be to have a method `setContents(uri)`
that would call `didChange` on LSP (tho that could lead to problems
with the LSP client, so I dunno, hard to get the right API design here
yet)
@ejgallego ejgallego modified the milestones: 0.2.2, 0.2.3 Oct 3, 2024
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.

1 participant