Skip to content

Commit 446a88c

Browse files
authored
Remove featured extension service and other minor fixes (microsoft#204198)
1 parent 450e7be commit 446a88c

File tree

4 files changed

+20
-305
lines changed

4 files changed

+20
-305
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.ts

Lines changed: 0 additions & 197 deletions
This file was deleted.

src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ registerAction2(class extends Action2 {
6363
const selectedCategory = typeof walkthroughID === 'string' ? walkthroughID : walkthroughID.category;
6464
const selectedStep = typeof walkthroughID === 'string' ? undefined : walkthroughID.step;
6565

66+
// We're trying to open the welcome page from the Help menu
67+
if (!selectedCategory || !selectedStep) {
68+
editorService.openEditor({ resource: GettingStartedInput.RESOURCE });
69+
return;
70+
}
71+
6672
// Try first to select the walkthrough on an active welcome page with no selected walkthrough
6773
for (const group of editorGroupsService.groups) {
6874
if (group.activeEditor instanceof GettingStartedInput) {

0 commit comments

Comments
 (0)