forked from golang/vscode-go
-
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.
goLanguageServer: add logic to prompt users to opt back into gopls
Users who have explicitly disabled gopls may have done so a long time ago when it wasn't yet stabilized. We should occasionally prompt them to opt in now that it's on by default. Set up a prompt that will show up until the user makes a selection. If they opt out, direct them to a survey to share feedback. This works per-workspace, so users will be re-prompted if they open a different workspace with gopls disabled. I used MessageItems in the vscode.window.showInformationMessage function because sinon refused to stub any other signature. Change-Id: Id46e88ab1e0a44740e777588288c27ddb4da93a6 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/289090 Trust: Rebecca Stambler <[email protected]> Run-TryBot: Rebecca Stambler <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
1 parent
48c4af1
commit 95dc50c
Showing
3 changed files
with
180 additions
and
42 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