-
Notifications
You must be signed in to change notification settings - Fork 646
settings: create one setting to specify an alternate language server #3028
Comments
+1 for refactoring. I wonder if
|
Today, if the "alternate tool" set for We are well beyond the point of supporting Regarding using something generic |
What would the enum support? |
I agree that adding an enum might encourage users to try |
That was based on the assumption that there is still interest or good use of |
Remove the code that handled this in the language server installation, and be careful to only install the tool specified by the user. Also, remove some unused import lines in the goLanguageServer.ts file. Fixes microsoft/vscode-go#3028. Change-Id: I813c39f7d4997b63f7a87c1551de23df2808259c GitHub-Last-Rev: 9aa7363 GitHub-Pull-Request: #2 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/222417 Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Right now, users can specify alternative tools for VS Code Go to use through the
go.alternateTools
setting. Both"gopls"
and"go-langserver"
can be replaced, which makes for a confusing user experience. What is the expected behavior if both of these are configured?I propose that we create one setting for the language server specifically, something like:
Where
"gopls"
might be the default,"go-langserver"
is another option, and any other text is also allowed.@ramya-rao-a, @hyangah: What do you think?
The text was updated successfully, but these errors were encountered: