Support allCommitCharacters even if the client announces commit characters per item.
See original GitHub issue'm using the client library here for LSP support in a VS Code extension. My server is sending a dynamic registration that includes commit characters like this:
{
"id": "3",
"method": "textDocument/completion",
"registerOptions": {
"documentSelector": [
{
"language": "dart",
"scheme": "file"
}
],
"triggerCharacters": [
".",
"=",
"(",
"$"
],
"allCommitCharacters": [
".",
"("
],
"resolveProvider": true
}
},
However pressing the commit characters doesn’t seem to have any effect. It’s enabled in VS Code and it works as expected for TypeScript. Is there anything else I need to do?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Language Server Protocol Specification - 3.17
A development tool and the language server announce their supported ... be used if clients don't support individual commit characters per * completion...
Read more >How to write a commit message that will make your mom proud
Learn how to style and format a commit message for optimal readability, especially if using GitHub to host your git repository.
Read more >How to Write the Perfect Commit Message | Tower Blog
These actions are much easier to perform when you are using a visual Git client like Tower, available for macOS and Windows. Here's...
Read more >Git commit messages for the bold and the daring - Nulab
If you want to make sure that what ends up in the repository is exactly how you want, then you might want to...
Read more >How to write a Git commit message properly with examples
Developers can waste too much time when they search for git commits. Follow these git commit message guidelines to consistently write good ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
btw, in the spec it has this:
This reads like it’s reasonable to provide both, and that the client would fall back to
allCommitCharacters
if it’s not set on the completion (otherwise it wouldn’t really make sense to send both).Technically there is nothing that prevents us from implementing it. It is simply not done.