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.
package.json: use the updated workspace trust API
The workspace trust API has changed. Update to use the new API and utilize 'limited' + 'restrictedConfigurations' capability. If VSCode has a version that supports this new API and the user opted in to this experimental feature using security.workspace.trust.enable setting, we disable our hacky workaround using the Configuration in src/config.ts, and make our workspace toggle command trigger VSCode's trusted workspace configuration command. I wanted to add some of gopls.build.* configuration, but that doesn't seem to work as I expected. More experiments with it is necessary. Updates golang#1469 Change-Id: Ie192063bfaf151427688da747dd44758afdc2565 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/317049 Trust: Hyang-Ah Hana Kim <[email protected]> Trust: Suzy Mueller <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Suzy Mueller <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
3 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