Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit256d0cd

Browse files
authored
Update codespaces check to also include VS Code remoting codespaces (microsoft#6952)
1 parent9d4238b commit256d0cd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎Extension/src/LanguageServer/extension.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ async function suggestInsidersChannel(): Promise<void> {
608608
if(!suggestInsiders.Value){
609609
return;
610610
}
611-
if(vscode.env.uiKind===vscode.UIKind.Web){
612-
// Do not prompt users ofWeb-basedCodespaces to join Insiders.
611+
if(util.isCodespaces()){
612+
// Do not prompt users of Codespaces to join Insiders.
613613
return;
614614
}
615615
letbuildInfo:BuildInfo|undefined;

‎Extension/src/common.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,3 +1273,7 @@ export function getUniqueWorkspaceName(workspaceFolder: vscode.WorkspaceFolder):
12731273
exportfunctiongetUniqueWorkspaceStorageName(workspaceFolder:vscode.WorkspaceFolder):string{
12741274
returngetUniqueWorkspaceNameHelper(workspaceFolder,true);
12751275
}
1276+
1277+
exportfunctionisCodespaces():boolean{
1278+
return!!process.env["CODESPACES"];
1279+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp