aws / language-servers

AWS related Language Servers
Apache License 2.0
23 stars 18 forks source link

Define quick actions dynamically #302

Closed ege0zcan closed 3 months ago

ege0zcan commented 3 months ago

Problem

The chat client shouldn't have to wait for the language client initialisation to finish before rendering the UI. Chat client should render the chat UI and then once the language client initialisation is done, the chat client should update the UI configuration to reflect the new information obtained during initialisation. For now, this information is only the available quick actions

Solution

Created new contract between ide extension and chat client that allows the ide extension to send a message about the initialization result to the chat client. The chat client then uses this information to update the default tab data for existing and any new tabs.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ege0zcan commented 3 months ago

Followed up on: https://github.com/aws/language-servers/pull/326, closing this PR