-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restart Typespec Language Server when it's not started before or sett…
…ings changed (#4912) 1. TypeSpec Language Server would be restarted with new settings when setting "typespec.tsp-server.path" is changed 2. Typespec Language Server can be restarted properly when the server wasn't running before 3. Code refactor in vscode extension. related issues: #2996, #4765 --------- Co-authored-by: Timothee Guerin <[email protected]>
- Loading branch information
1 parent
fe8f3f1
commit 81c83dd
Showing
22 changed files
with
690 additions
and
453 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
changeKind: fix | ||
packages: | ||
- typespec-vscode | ||
--- | ||
|
||
Fix the issue when Typespec Language Server can't be restarted when the server wasn't running before |
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,7 @@ | ||
--- | ||
changeKind: feature | ||
packages: | ||
- typespec-vscode | ||
--- | ||
|
||
TypeSpec Language Server would be restarted with new settings when setting "typespec.tsp-server.path" is changed |
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,3 @@ | ||
export const enum SettingName { | ||
TspServerPath = "typespec.tsp-server.path", | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.