mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-21 07:39:51 +01:00
terminal - use product to figure out quality (#242226)
This commit is contained in:
@@ -8,7 +8,9 @@ import { IProductConfiguration } from '../../../base/common/product.js';
|
||||
import { ISandboxConfiguration } from '../../../base/parts/sandbox/common/sandboxTypes.js';
|
||||
|
||||
/**
|
||||
* @deprecated You MUST use `IProductService` if possible.
|
||||
* @deprecated It is preferred that you use `IProductService` if you can. This
|
||||
* allows web embedders to override our defaults. But for things like `product.quality`,
|
||||
* the use is fine because that property is not overridable.
|
||||
*/
|
||||
let product: IProductConfiguration;
|
||||
|
||||
@@ -72,7 +74,4 @@ else {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated You MUST use `IProductService` if possible.
|
||||
*/
|
||||
export default product;
|
||||
|
||||
@@ -486,7 +486,7 @@ const terminalConfiguration: IConfigurationNode = {
|
||||
markdownDescription: localize('terminal.integrated.windowsUseConptyDll', "Whether to use the experimental conpty.dll (v1.22.250204002) shipped with VS Code, instead of the one bundled with Windows."),
|
||||
type: 'boolean',
|
||||
tags: ['preview'],
|
||||
default: product.quality !== 'stable',
|
||||
default: product.quality !== 'stable'
|
||||
},
|
||||
[TerminalSettingId.SplitCwd]: {
|
||||
description: localize('terminal.integrated.splitCwd', "Controls the working directory a split terminal starts with."),
|
||||
@@ -610,7 +610,7 @@ const terminalConfiguration: IConfigurationNode = {
|
||||
[TerminalSettingId.ShellIntegrationEnvironmentReporting]: {
|
||||
markdownDescription: localize('terminal.integrated.shellIntegration.environmentReporting', "Controls whether to report the shell environment, enabling its use in features such as {0}. This may cause a slowdown when printing your shell's prompt.", `\`#${TerminalContribSettingId.SuggestEnabled}#\``),
|
||||
type: 'boolean',
|
||||
default: product.quality !== 'stable',
|
||||
default: product.quality !== 'stable'
|
||||
},
|
||||
[TerminalSettingId.SmoothScrolling]: {
|
||||
markdownDescription: localize('terminal.integrated.smoothScrolling', "Controls whether the terminal will scroll using an animation."),
|
||||
|
||||
Reference in New Issue
Block a user