Skip to content

Commit 14b81ef

Browse files
authored
shorten the main walkthrough (microsoft#235447)
1 parent 03b64eb commit 14b81ef

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
283283
id: 'settings',
284284
title: localize('gettingStarted.settings.title', "Tune your settings"),
285285
description: localize('gettingStarted.settings.description.interpolated', "Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')),
286+
when: '!config.chat.experimental.offerSetup',
286287
media: {
287288
type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
288289
},
@@ -291,12 +292,22 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
291292
id: 'settingsSync',
292293
title: localize('gettingStarted.settingsSync.title', "Sync settings across devices"),
293294
description: localize('gettingStarted.settingsSync.description.interpolated', "Keep your essential customizations backed up and updated across all your devices.\n{0}", Button(localize('enableSync', "Backup and Sync Settings"), 'command:workbench.userDataSync.actions.turnOn')),
294-
when: 'syncStatus != uninitialized',
295+
when: '!config.chat.experimental.offerSetup && syncStatus != uninitialized',
295296
completionEvents: ['onEvent:sync-enabled'],
296297
media: {
297298
type: 'svg', altText: 'The "Turn on Sync" entry in the settings gear menu.', path: 'settingsSync.svg'
298299
},
299300
},
301+
{
302+
id: 'settingsAndSync',
303+
title: localize('gettingStarted.settings.title', "Tune your settings"),
304+
description: localize('gettingStarted.settingsAndSync.description.interpolated', "Customize every aspect of VS Code and your extensions to your liking. [Back up and sync](command:workbench.userDataSync.actions.turnOn) your essential customizations across all your devices.\n{0}", Button(localize('tweakSettings', "Open Settings"), 'command:toSide:workbench.action.openSettings')),
305+
when: 'config.chat.experimental.offerSetup && syncStatus != uninitialized',
306+
completionEvents: ['onEvent:sync-enabled'],
307+
media: {
308+
type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
309+
},
310+
},
300311
{
301312
id: 'commandPaletteTask',
302313
title: localize('gettingStarted.commandPalette.title', "Unlock productivity with the Command Palette "),
@@ -307,7 +318,7 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
307318
id: 'pickAFolderTask-Mac',
308319
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
309320
description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFileFolder')),
310-
when: 'isMac && workspaceFolderCount == 0',
321+
when: '!config.chat.experimental.offerSetup && isMac && workspaceFolderCount == 0',
311322
media: {
312323
type: 'svg', altText: 'Explorer view showing buttons for opening folder and cloning repository.', path: 'openFolder.svg'
313324
}
@@ -316,7 +327,7 @@ export const walkthroughs: GettingStartedWalkthroughContent = [
316327
id: 'pickAFolderTask-Other',
317328
title: localize('gettingStarted.setup.OpenFolder.title', "Open up your code"),
318329
description: localize('gettingStarted.setup.OpenFolder.description.interpolated', "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}", Button(localize('pickFolder', "Pick a Folder"), 'command:workbench.action.files.openFolder')),
319-
when: '!isMac && workspaceFolderCount == 0',
330+
when: '!config.chat.experimental.offerSetup && !isMac && workspaceFolderCount == 0',
320331
media: {
321332
type: 'svg', altText: 'Explorer view showing buttons for opening folder and cloning repository.', path: 'openFolder.svg'
322333
}

0 commit comments

Comments
 (0)