File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
extensions/gitpod-web/src Expand file tree Collapse file tree 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) {
3939 } ) ;
4040 } ) ;
4141 registerWelcomeWalkthroughCommands ( gitpodContext ) ;
42+ startWelcomeWalkthrough ( ) ;
4243
4344 const codeServer = new GitpodCodeServer ( ) ;
4445 registerCLI ( codeServer , gitpodContext ) ;
@@ -763,6 +764,12 @@ export function registerWelcomeWalkthroughCommands(context: GitpodExtensionConte
763764 } ) ) ;
764765}
765766
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+
766773export function registerCLI ( codeServer : GitpodCodeServer , context : GitpodExtensionContext ) : void {
767774 const ipcHookCli = context . ipcHookCli ;
768775 if ( context . ipcHookCli ) {
You can’t perform that action at this time.
0 commit comments