Skip to content

Commit d10a282

Browse files
authored
package.json: add go.showWelcome
1 parent fa820d4 commit d10a282

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,11 @@
11101110
"type": "object",
11111111
"title": "Go",
11121112
"properties": {
1113+
"go.showWelcome": {
1114+
"type": "boolean",
1115+
"default": true,
1116+
"description": "Specifies whether to show the Welcome experience on first install"
1117+
},
11131118
"go.buildOnSave": {
11141119
"type": "string",
11151120
"enum": [

src/welcome.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class WelcomePanel {
3131
}
3232

3333
// Show the Go welcome page on update.
34-
if (!extensionInfo.isInCloudIDE) {
34+
if (!extensionInfo.isInCloudIDE && vscode.workspace.getConfiguration('go.showWelcome')) {
3535
showGoWelcomePage();
3636
}
3737
}

0 commit comments

Comments
 (0)