From be933c88c05b665f299986b0802081ef9fa5a77a Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 14 Dec 2021 10:59:40 -0800 Subject: [PATCH] Update setting description product name (Code -> ADS) (#17912) --- src/sql/base/common/locConstants.ts | 1 + src/vs/workbench/contrib/files/browser/files.contribution.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sql/base/common/locConstants.ts b/src/sql/base/common/locConstants.ts index 97518b18b9..17b699eb36 100644 --- a/src/sql/base/common/locConstants.ts +++ b/src/sql/base/common/locConstants.ts @@ -39,6 +39,7 @@ export const fileActionsContributionNewQuery = localize('newQuery', "New Query") export const fileActionsContributionMiNewQuery = localize({ key: 'miNewQuery', comment: ['&& denotes a mnemonic'] }, "New &&Query"); export const fileActionsContributionMiNewNotebook = localize({ key: 'miNewNotebook', comment: ['&& denotes a mnemonic'] }, "&&New Notebook"); export const filesContributionMaxMemoryForLargeFilesMB = localize('maxMemoryForLargeFilesMB', "Controls the memory available to Azure Data Studio after restart when trying to open large files. Same effect as specifying `--max-memory=NEWSIZE` on the command line."); +export const watcherExclude = localize('sql.watcherExclude', "Configure glob patterns of file paths to exclude from file watching. Patterns must match on absolute paths (i.e. prefix with ** or the full path to match properly). Changing this setting requires a restart. When you experience Azure Data Studio consuming lots of CPU time on startup, you can exclude large folders to reduce the initial load."); export function localizationsContributionUpdateLocale(locale: string): string { return localize('updateLocale', "Would you like to change Azure Data Studio's UI language to {0} and restart?", locale); } export function localizationsContributionActivateLanguagePack(locale: string): string { return localize('activateLanguagePack', "In order to use Azure Data Studio in {0}, Azure Data Studio needs to restart.", locale); } export const watermarkNewSqlFile = localize('watermark.newSqlFile', "New SQL File"); diff --git a/src/vs/workbench/contrib/files/browser/files.contribution.ts b/src/vs/workbench/contrib/files/browser/files.contribution.ts index 1d9ccc648d..90e9bda866 100644 --- a/src/vs/workbench/contrib/files/browser/files.contribution.ts +++ b/src/vs/workbench/contrib/files/browser/files.contribution.ts @@ -241,7 +241,7 @@ configurationRegistry.registerConfiguration({ 'files.watcherExclude': { 'type': 'object', 'default': isWindows /* https://github.com/microsoft/vscode/issues/23954 */ ? { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/node_modules/*/**': true, '**/.hg/store/**': true } : { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/node_modules/**': true, '**/.hg/store/**': true }, - 'description': nls.localize('watcherExclude', "Configure glob patterns of file paths to exclude from file watching. Patterns must match on absolute paths (i.e. prefix with ** or the full path to match properly). Changing this setting requires a restart. When you experience Code consuming lots of CPU time on startup, you can exclude large folders to reduce the initial load."), + 'description': locConstants.watcherExclude, // {{SQL CARBON EDIT}} Product name to ADS 'scope': ConfigurationScope.RESOURCE }, 'files.hotExit': hotExitConfiguration,