Skip to content

Commit e7a3ef8

Browse files
authored
Add tips for debug views (microsoft#205861)
* Add tips for debug views * Add tips for debug views
1 parent bde8a22 commit e7a3ef8

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/vs/platform/environment/node/argv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export interface ErrorReporter {
214214
onEmptyValue(id: string): void;
215215
onDeprecatedOption(deprecatedId: string, message: string): void;
216216

217-
getSubcommandReporter?(commmand: string): ErrorReporter;
217+
getSubcommandReporter?(command: string): ErrorReporter;
218218
}
219219

220220
const ignoringReporter = {

src/vs/workbench/contrib/debug/browser/welcomeView.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
165165
{
166166
key: 'customizeRunAndDebugOpenFolder',
167167
comment: [
168-
'Please do not translate the word "commmand", it is part of our internal syntax which must not change',
169-
'{Locked="](command:{0})"}'
168+
'Please do not translate the word "command", it is part of our internal syntax which must not change',
169+
'Please do not translate "launch.json", it is the specific configuration file name',
170+
'{Locked="](command:{0})"}',
170171
]
171172
},
172173
"To customize Run and Debug, [open a folder](command:{0}) and create a launch.json file.", (isMacintosh && !isWeb) ? OpenFileFolderAction.ID : OpenFolderAction.ID),

src/vs/workbench/contrib/files/browser/explorerViewlet.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ const openRecentButton = `[${openRecent}](command:${OpenRecentAction.ID})`;
283283

284284
const viewsRegistry = Registry.as<IViewsRegistry>(Extensions.ViewsRegistry);
285285
viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
286-
content: localize({ key: 'noWorkspaceHelp', comment: ['Please do not translate the word "commmand", it is part of our internal syntax which must not change'] },
286+
content: localize({ key: 'noWorkspaceHelp', comment: ['Please do not translate the word "command", it is part of our internal syntax which must not change'] },
287287
"You have not yet added a folder to the workspace.\n{0}", addRootFolderButton),
288288
when: ContextKeyExpr.and(
289289
// inside a .code-workspace
@@ -296,7 +296,7 @@ viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
296296
});
297297

298298
viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
299-
content: localize({ key: 'noFolderHelpWeb', comment: ['Please do not translate the word "commmand", it is part of our internal syntax which must not change'] },
299+
content: localize({ key: 'noFolderHelpWeb', comment: ['Please do not translate the word "command", it is part of our internal syntax which must not change'] },
300300
"You have not yet opened a folder.\n{0}\n{1}", openFolderViaWorkspaceButton, openRecentButton),
301301
when: ContextKeyExpr.and(
302302
// inside a .code-workspace
@@ -309,7 +309,7 @@ viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
309309
});
310310

311311
viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
312-
content: localize({ key: 'remoteNoFolderHelp', comment: ['Please do not translate the word "commmand", it is part of our internal syntax which must not change'] },
312+
content: localize({ key: 'remoteNoFolderHelp', comment: ['Please do not translate the word "command", it is part of our internal syntax which must not change'] },
313313
"Connected to remote.\n{0}", openFolderButton),
314314
when: ContextKeyExpr.and(
315315
// not inside a .code-workspace
@@ -323,7 +323,7 @@ viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
323323
});
324324

325325
viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
326-
content: localize({ key: 'noFolderButEditorsHelp', comment: ['Please do not translate the word "commmand", it is part of our internal syntax which must not change'] },
326+
content: localize({ key: 'noFolderButEditorsHelp', comment: ['Please do not translate the word "command", it is part of our internal syntax which must not change'] },
327327
"You have not yet opened a folder.\n{0}\nOpening a folder will close all currently open editors. To keep them open, {1} instead.", openFolderButton, addAFolderButton),
328328
when: ContextKeyExpr.and(
329329
// editors are opened
@@ -340,7 +340,7 @@ viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
340340
});
341341

342342
viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {
343-
content: localize({ key: 'noFolderHelp', comment: ['Please do not translate the word "commmand", it is part of our internal syntax which must not change'] },
343+
content: localize({ key: 'noFolderHelp', comment: ['Please do not translate the word "command", it is part of our internal syntax which must not change'] },
344344
"You have not yet opened a folder.\n{0}", openFolderButton),
345345
when: ContextKeyExpr.and(
346346
// no editor is open

0 commit comments

Comments
 (0)