forked from golang/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp: fix watched file protocol constants
The "Create" and "Delete" WatchKind values were missing from the generated code because their names were colliding with other constants. Add "WatchKind" to go.ts prefix map to disambiguate. Updates golang/go#31553 Change-Id: I60269969831c0822896e87b3f2332ded71748f42 GitHub-Last-Rev: 6d85cf9 GitHub-Pull-Request: golang#136 Reviewed-on: https://go-review.googlesource.com/c/tools/+/186097 Run-TryBot: Rebecca Stambler <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
- Loading branch information
1 parent
09f9cfa
commit dddb761
Showing
4 changed files
with
22 additions
and
10 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,10 +4,10 @@ | |
|
||
1. Make sure `node` is installed. | ||
As explained at the [node site](<https://nodejs.org> Node) | ||
you may need `node install @types/node` for the node runtime types | ||
2. Install the typescript compiler, with `node install typescript`. | ||
you may need `npm install @types/node` for the node runtime types | ||
2. Install the typescript compiler, with `npm install typescript`. | ||
3. Make sure `tsc` and `node` are in your execution path. | ||
4. Get the typescript code for the jsonrpc protocol with `git clone vscode-lanuageserver-node.git` | ||
4. Get the typescript code for the jsonrpc protocol with `git clone [email protected]:microsoft/vscode-languageserver-node.git` | ||
|
||
## Usage | ||
|
||
|
@@ -31,4 +31,4 @@ To generate the client and server boilerplate (tsclient.go and tsserver.go) | |
|
||
## Note | ||
|
||
`go.ts` uses the Typescript compiler's API, which is [introduced](<https://github.com/Microsoft/TypeScript/wiki/Architectural-Overview> API) in their wiki. | ||
`go.ts` uses the Typescript compiler's API, which is [introduced](<https://github.com/Microsoft/TypeScript/wiki/Architectural-Overview> API) in their wiki. |
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