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

refactor(language-lsp): improve signature help trigger #635

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

Conversation

dingyi222666
Copy link
Contributor

  • Improve the signature help trigger logic by adding support for triggering it when the selection changes and the character at the selection's left boundary matches a specific condition.
  • Adjust thread usage in LspEditor to ensure that the sleep operation is performed on a background thread using Dispatchers.IO.
  • Remove the FIXME comment in DefaultLanguageClient, as the support for diagnostics is now implemented.
  • Change the StreamProvider interface in CustomConnectProvider to a functional interface, simplifying its usage and improving code readability.

- Remove an unnecessary logging statement from LspLanguage to reduce noise and improve performance.
- Improve the signature help trigger logic by adding support for triggering it when the selection changes and the character at the selection's left boundary matches a specific condition.
- Adjust thread usage in LspEditor to ensure that the `sleep` operation is performed on a background thread using `Dispatchers.IO`.
- Remove the `FIXME` comment in DefaultLanguageClient, as the support for diagnostics is now implemented.
- Change the `StreamProvider` interface in CustomConnectProvider to a functional interface, simplifying its usage and improving code readability.
- Add logging statement in `LspCompletionItem` for debugging purposes.
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