-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pranav Gaikwad <[email protected]> Signed-off-by: JonahSussman <[email protected]> Signed-off-by: Jonah Sussman <[email protected]> Signed-off-by: John Matthews <[email protected]> Signed-off-by: GitHub Actions <[email protected]> Co-authored-by: Jonah Sussman <[email protected]> Co-authored-by: John Matthews <[email protected]> Co-authored-by: GitHub Actions <[email protected]>
- Loading branch information
1 parent
5e97160
commit 899a663
Showing
24 changed files
with
9,499 additions
and
4,100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Protocol generator tool | ||
|
||
Originally from: https://github.com/golang/tools/tree/master/gopls/internal/lsp/protocol | ||
Commit id: If4c85191760baef916911130ca315773d2adda1f | ||
|
||
## How to use | ||
|
||
If there is an update to the LSP specification, navigate to the `protocol` directory and run `go generate`. This will generate all the types needed for the analyzer. You need to add `ExtendedClientCapilities map[string]interface{} `json:"extendedClientCapabilities"`` to XInitializeParams struct. Other than that, you should be good to go. | ||
|
||
## Changes | ||
|
||
- Commented out `writeclient()` and `writeserver()` in generate/main.go | ||
- Commented out `"Or_WorkspaceFoldersServerCapabilities_changeNotifications": "string",` in generate/tables.go | ||
- Changed `type DocumentURI string` to `type DocumentURI = string` in generate/output.go | ||
- Need to add `ExtendedClientCapilities map[string]interface{} `json:"extendedClientCapabilities"`` to XInitializeParams struct. Need to figure out why needed. Can remove if not. |
Oops, something went wrong.