File tree 1 file changed +7
-0
lines changed
extensions/gitpod-web/src
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export async function activate(context: vscode.ExtensionContext) {
39
39
} ) ;
40
40
} ) ;
41
41
registerWelcomeWalkthroughCommands ( gitpodContext ) ;
42
+ startWelcomeWalkthrough ( ) ;
42
43
43
44
const codeServer = new GitpodCodeServer ( ) ;
44
45
registerCLI ( codeServer , gitpodContext ) ;
@@ -763,6 +764,12 @@ export function registerWelcomeWalkthroughCommands(context: GitpodExtensionConte
763
764
} ) ) ;
764
765
}
765
766
767
+ export function startWelcomeWalkthrough ( ) {
768
+ if ( vscode . window . visibleTextEditors . length === 0 ) {
769
+ vscode . commands . executeCommand ( 'workbench.action.openWalkthrough' , 'gitpod.gitpod-web#gitpod-getstarted' , false ) ;
770
+ }
771
+ }
772
+
766
773
export function registerCLI ( codeServer : GitpodCodeServer , context : GitpodExtensionContext ) : void {
767
774
const ipcHookCli = context . ipcHookCli ;
768
775
if ( context . ipcHookCli ) {
You can’t perform that action at this time.
0 commit comments