Skip to content

Commit b10aae5

Browse files
svenefftingehyangah
authored andcommitted
src/config.ts: add Gitpod to the known cloud-based IDEs
This change adds Gitpod to the recognized cloud-based IDEs to avoid showing the welcome screen in every workspace. Change-Id: Ib195924d561b039ff2f1150f9f5855c427028669 GitHub-Last-Rev: 070a46a GitHub-Pull-Request: #1616 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/333489 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> 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]>
1 parent 805b29c commit b10aae5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,5 @@ function getConfig(section: string, uri?: vscode.Uri) {
194194
}
195195

196196
// True if the extension is running in known cloud-based IDEs.
197-
export const IsInCloudIDE = process.env.CLOUD_SHELL === 'true' || process.env.CODESPACES === 'true';
197+
export const IsInCloudIDE =
198+
process.env.CLOUD_SHELL === 'true' || process.env.CODESPACES === 'true' || !!process.env.GITPOD_WORKSPACE_ID;

0 commit comments

Comments
 (0)