Skip to content

Commit

Permalink
228640: Updated var names and strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Parasaran-Python committed Oct 14, 2024
1 parent 90ff12a commit 80d51b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/debug/browser/debug.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,9 @@ configurationRegistry.registerConfiguration({
markdownDescription: nls.localize({ comment: ['This is the description for a setting'], key: 'debug.hideLauncherWhileDebugging' }, "Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.", '`#debug.toolBarLocation#`'),
default: false
},
'debug.hidePreLaunchNotification': {
'debug.hideSlowPreLaunchWarning': {
type: 'boolean',
description: nls.localize('debug.hidePreLaunchNotification', "Hide preLaunchTask popup."),
markdownDescription: nls.localize('debug.hideSlowPreLaunchWarning', "Hide the warning shown when a `preLaunchTask` has been running for a while."),
default: false
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/debug/browser/debugTaskRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ export class DebugTaskRunner implements IDisposable {
}
}, waitTime));

const hidePreLaunchNotification = this.configurationService.getValue<IDebugConfiguration>('debug').hidePreLaunchNotification;
if (!hidePreLaunchNotification) {
const hideSlowPreLaunchWarning = this.configurationService.getValue<IDebugConfiguration>('debug').hideSlowPreLaunchWarning;
if (!hideSlowPreLaunchWarning) {
// Notification shown on any task taking a while to resolve
store.add(disposableTimeout(() => {
const message = nls.localize('runningTask', "Waiting for preLaunchTask '{0}'...", task.configurationProperties.name);
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/debug/common/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ export interface IDebugConfiguration {
autoExpandLazyVariables: 'auto' | 'off' | 'on';
enableStatusBarColor: boolean;
showVariableTypes: boolean;
hidePreLaunchNotification: boolean;
hideSlowPreLaunchWarning: boolean;
}

export interface IGlobalConfig {
Expand Down

0 comments on commit 80d51b6

Please sign in to comment.