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

Start passing relevant capabilities to runtime server #560

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 27, 2025

To be able to support server initiated progress, it will need to know if the editor connecting to the LSP actually supports it, otherwise we risk sending notifications that the client cannot handle.

My proposal is that we start passing a JSON containing only the relevant client capabilities to the server, so that we can check what is enabled.

Copy link
Member Author

vinistock commented Jan 27, 2025

@vinistock vinistock requested review from andyw8 and KaanOzkan January 27, 2025 17:08
@vinistock vinistock self-assigned this Jan 27, 2025
@vinistock vinistock added the enhancement New feature or request label Jan 27, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review January 27, 2025 17:10
@vinistock vinistock requested a review from a team as a code owner January 27, 2025 17:10
@vinistock vinistock force-pushed the 01-27-start_passing_relevant_capabilities_to_runtime_server branch from 775f82d to fa8c7d6 Compare January 28, 2025 14:28
@vinistock vinistock force-pushed the 01-27-allow_server_to_send_asynchronous_notifications_to_client branch 2 times, most recently from af129b9 to 6f78016 Compare January 28, 2025 14:52
@vinistock vinistock force-pushed the 01-27-start_passing_relevant_capabilities_to_runtime_server branch from fa8c7d6 to 4f05db9 Compare January 28, 2025 14:52
@vinistock vinistock force-pushed the 01-27-allow_server_to_send_asynchronous_notifications_to_client branch from 6f78016 to 86ca9fa Compare January 28, 2025 15:22
@vinistock vinistock force-pushed the 01-27-start_passing_relevant_capabilities_to_runtime_server branch from 4f05db9 to 4c8d1d1 Compare January 28, 2025 15:22
@vinistock vinistock changed the base branch from 01-27-allow_server_to_send_asynchronous_notifications_to_client to graphite-base/560 January 28, 2025 15:38
@vinistock vinistock force-pushed the 01-27-start_passing_relevant_capabilities_to_runtime_server branch from 4c8d1d1 to 6e843b8 Compare January 28, 2025 15:39
@vinistock vinistock changed the base branch from graphite-base/560 to main January 28, 2025 15:39
@vinistock vinistock force-pushed the 01-27-start_passing_relevant_capabilities_to_runtime_server branch from 6e843b8 to 42fed3b Compare January 28, 2025 15:40
@vinistock vinistock merged commit 38ddfa8 into main Jan 28, 2025
29 checks passed
Copy link
Member Author

Merge activity

  • Jan 28, 10:56 AM EST: A user merged this pull request with Graphite.

@vinistock vinistock deleted the 01-27-start_passing_relevant_capabilities_to_runtime_server branch January 28, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants