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

Implement Completion Request / IntelliSense #14

Open
3 tasks
AnHeuermann opened this issue Feb 8, 2024 · 0 comments
Open
3 tasks

Implement Completion Request / IntelliSense #14

AnHeuermann opened this issue Feb 8, 2024 · 0 comments
Labels
enhancement New feature or request LS - Client Language Server - Client capability LS - Server Language Server - Server capability

Comments

@AnHeuermann
Copy link
Member

Description

Implement Completion Request.

The Completion request is sent from the client to the server to compute completion items at a given cursor position. Completion items are presented in the IntelliSense user interface. If computing full completion items is expensive, servers can additionally provide a handler for the completion item resolve request (‘completionItem/resolve’). This request is sent when a completion item is selected in the user interface. A typical use case is for example: the textDocument/completion request doesn’t fill in the documentation property for returned completion items since it is expensive to compute. When the item is selected in the user interface then a ‘completionItem/resolve’ request is sent with the selected completion item as a parameter. The returned completion item should have the documentation property filled in. By default the request can only delay the computation of the detail and documentation properties. Since 3.16.0 the client can signal that it can resolve more properties lazily. This is done using the completionItem#resolveSupport client capability which lists all properties that can be filled in during a ‘completionItem/resolve’ request. All other properties (usually sortText, filterText, insertText and textEdit) must be provided in the textDocument/completion response and must not be changed during resolve.

Desired Features

  • Auto-complete
  • Server tests
  • Client end to end tests
@AnHeuermann AnHeuermann added enhancement New feature or request LS - Server Language Server - Server capability LS - Client Language Server - Client capability labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request LS - Client Language Server - Client capability LS - Server Language Server - Server capability
Projects
Status: Ready
Development

No branches or pull requests

1 participant