Sweep setting descriptions for #54690

This commit is contained in:
Rob Lourens 2018-07-25 14:40:13 -07:00
parent e95f36dca8
commit 31eba9652d
8 changed files with 34 additions and 19 deletions

View file

@ -8,7 +8,7 @@
"css.lint.duplicateProperties.desc": "Do not use duplicate style definitions",
"css.lint.emptyRules.desc": "Do not use empty rulesets",
"css.lint.float.desc": "Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.",
"css.lint.fontFaceProperties.desc": "@font-face rule must define 'src' and 'font-family' properties",
"css.lint.fontFaceProperties.desc": "`@font-face` rule must define `src` and `font-family` properties",
"css.lint.hexColorLength.desc": "Hex colors must consist of three or six hex numbers",
"css.lint.idSelector.desc": "Selectors should not contain IDs because these rules are too tightly coupled with the HTML.",
"css.lint.ieHack.desc": "IE hacks are only necessary when supporting IE7 and older",
@ -31,7 +31,7 @@
"less.lint.duplicateProperties.desc": "Do not use duplicate style definitions",
"less.lint.emptyRules.desc": "Do not use empty rulesets",
"less.lint.float.desc": "Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.",
"less.lint.fontFaceProperties.desc": "@font-face rule must define 'src' and 'font-family' properties",
"less.lint.fontFaceProperties.desc": "`@font-face` rule must define `src` and `font-family` properties",
"less.lint.hexColorLength.desc": "Hex colors must consist of three or six hex numbers",
"less.lint.idSelector.desc": "Selectors should not contain IDs because these rules are too tightly coupled with the HTML.",
"less.lint.ieHack.desc": "IE hacks are only necessary when supporting IE7 and older",
@ -52,7 +52,7 @@
"scss.lint.duplicateProperties.desc": "Do not use duplicate style definitions",
"scss.lint.emptyRules.desc": "Do not use empty rulesets",
"scss.lint.float.desc": "Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.",
"scss.lint.fontFaceProperties.desc": "@font-face rule must define 'src' and 'font-family' properties",
"scss.lint.fontFaceProperties.desc": "`@font-face` rule must define `src` and `font-family` properties",
"scss.lint.hexColorLength.desc": "Hex colors must consist of three or six hex numbers",
"scss.lint.idSelector.desc": "Selectors should not contain IDs because these rules are too tightly coupled with the HTML.",
"scss.lint.ieHack.desc": "IE hacks are only necessary when supporting IE7 and older",

View file

@ -384,6 +384,12 @@
"build",
"watch"
],
"enumDescriptions": [
"%typescript.tsc.autoDetect.on%",
"%typescript.tsc.autoDetect.off%",
"%typescript.tsc.autoDetect.build%",
"%typescript.tsc.autoDetect.watch%"
],
"description": "%typescript.tsc.autoDetect%",
"scope": "window"
},

View file

@ -42,7 +42,11 @@
"typescript.npm": "Specifies the path to the NPM executable used for Automatic Type Acquisition. Requires using TypeScript 2.3.4 or newer in the workspace.",
"typescript.check.npmIsInstalled": "Check if NPM is installed for Automatic Type Acquisition.",
"javascript.nameSuggestions": "Enable/disable including unique names from the file in JavaScript suggestion lists.",
"typescript.tsc.autoDetect": "Controls auto detection of tsc tasks. 'off' disables this feature. 'build' only creates single run compile tasks. 'watch' only creates compile and watch tasks. 'on' creates both build and watch tasks. Default is 'on'.",
"typescript.tsc.autoDetect": "Controls auto detection of tsc tasks.",
"typescript.tsc.autoDetect.off": "Disable this feature.",
"typescript.tsc.autoDetect.on": "Create both build and watch tasks.",
"typescript.tsc.autoDetect.build": "Only create single run compile tasks.",
"typescript.tsc.autoDetect.watch": "Only create compile and watch tasks.",
"typescript.problemMatchers.tsc.label": "TypeScript problems",
"typescript.problemMatchers.tscWatch.label": "TypeScript problems (watch mode)",
"typescript.quickSuggestionsForPaths": "Enable/disable quick suggestions when typing out an import path.",

View file

@ -288,7 +288,7 @@ const editorConfiguration: IConfigurationNode = {
'editor.insertSpaces': {
'type': 'boolean',
'default': EDITOR_MODEL_DEFAULTS.insertSpaces,
'description': nls.localize('insertSpaces', "Insert spaces when pressing Tab. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on."),
'description': nls.localize('insertSpaces', "Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on."),
'errorMessage': nls.localize('insertSpaces.errorMessage', "Expected 'boolean'. Note that the value \"auto\" has been replaced by the `editor.detectIndentation` setting.")
},
'editor.detectIndentation': {
@ -314,7 +314,7 @@ const editorConfiguration: IConfigurationNode = {
'editor.smoothScrolling': {
'type': 'boolean',
'default': EDITOR_DEFAULTS.viewInfo.smoothScrolling,
'description': nls.localize('smoothScrolling', "Controls if the editor will scroll using an animation")
'description': nls.localize('smoothScrolling', "Controls whether the editor will scroll using an animation.")
},
'editor.minimap.enabled': {
'type': 'boolean',
@ -522,12 +522,17 @@ const editorConfiguration: IConfigurationNode = {
'type': 'string',
'enum': ['on', 'smart', 'off'],
'default': EDITOR_DEFAULTS.contribInfo.acceptSuggestionOnEnter,
'description': nls.localize('acceptSuggestionOnEnter', "Controls if suggestions should be accepted on 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions. The value 'smart' means only accept a suggestion with Enter when it makes a textual change.")
'enumDescriptions': [
'',
nls.localize('acceptSuggestionOnEnterSmart', "Only accept a suggestion with `Enter` when it makes a textual change."),
''
],
'description': nls.localize('acceptSuggestionOnEnter', "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")
},
'editor.acceptSuggestionOnCommitCharacter': {
'type': 'boolean',
'default': EDITOR_DEFAULTS.contribInfo.acceptSuggestionOnCommitCharacter,
'description': nls.localize('acceptSuggestionOnCommitCharacter', "Controls if suggestions should be accepted on commit characters. For instance in JavaScript the semi-colon (';') can be a commit character that accepts a suggestion and types that character.")
'description': nls.localize('acceptSuggestionOnCommitCharacter', "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")
},
'editor.snippetSuggestions': {
'type': 'string',
@ -717,7 +722,7 @@ const editorConfiguration: IConfigurationNode = {
'editor.stablePeek': {
'type': 'boolean',
'default': false,
'description': nls.localize('stablePeek', "Keep peek editors open even when double clicking their content or when hitting Escape.")
'description': nls.localize('stablePeek', "Keep peek editors open even when double clicking their content or when hitting `Escape`.")
},
'editor.dragAndDrop': {
'type': 'boolean',
@ -783,7 +788,7 @@ const editorConfiguration: IConfigurationNode = {
'diffEditor.renderSideBySide': {
'type': 'boolean',
'default': true,
'description': nls.localize('sideBySide', "Controls if the diff editor shows the diff side by side or inline")
'description': nls.localize('sideBySide', "Controls whether the diff editor shows the diff side by side or inline.")
},
'diffEditor.ignoreTrimWhitespace': {
'type': 'boolean',

View file

@ -387,7 +387,7 @@ configurationRegistry.registerConfiguration({
},
'workbench.editor.closeOnFileDelete': {
'type': 'boolean',
'description': nls.localize('closeOnFileDelete', "Controls if editors showing a file should close automatically when the file is deleted or renamed by some other process. Disabling this will keep the editor open as dirty on such an event. Note that deleting from within the application will always close the editor and that dirty files will never close to preserve your data."),
'description': nls.localize('closeOnFileDelete', "Controls whether editors showing a file should close automatically when the file is deleted or renamed by some other process. Disabling this will keep the editor open as dirty on such an event. Note that deleting from within the application will always close the editor and that dirty files will never close to preserve your data."),
'default': true
},
'workbench.editor.openPositioning': {
@ -680,12 +680,12 @@ configurationRegistry.registerConfiguration({
'zenMode.hideTabs': {
'type': 'boolean',
'default': true,
'description': nls.localize('zenMode.hideTabs', "Controls if turning on Zen Mode also hides workbench tabs.")
'description': nls.localize('zenMode.hideTabs', "Controls whether turning on Zen Mode also hides workbench tabs.")
},
'zenMode.hideStatusBar': {
'type': 'boolean',
'default': true,
'description': nls.localize('zenMode.hideStatusBar', "Controls if turning on Zen Mode also hides the status bar at the bottom of the workbench.")
'description': nls.localize('zenMode.hideStatusBar', "Controls whether turning on Zen Mode also hides the status bar at the bottom of the workbench.")
},
'zenMode.hideActivityBar': {
'type': 'boolean',
@ -695,7 +695,7 @@ configurationRegistry.registerConfiguration({
'zenMode.restore': {
'type': 'boolean',
'default': false,
'description': nls.localize('zenMode.restore', "Controls if a window should restore to zen mode if it was exited in zen mode.")
'description': nls.localize('zenMode.restore', "Controls whether a window should restore to zen mode if it was exited in zen mode.")
}
}
});

View file

@ -204,7 +204,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
properties: {
'extensions.autoUpdate': {
type: 'boolean',
description: localize('extensionsAutoUpdate', "Automatically update extensions"),
description: localize('extensionsAutoUpdate', "Automatically update extensions."),
default: true,
scope: ConfigurationScope.APPLICATION
},

View file

@ -361,7 +361,7 @@ configurationRegistry.registerConfiguration({
nls.localize('sortOrder.type', 'Files and folders are sorted by their extensions, in alphabetical order. Folders are displayed before files.'),
nls.localize('sortOrder.modified', 'Files and folders are sorted by last modified date, in descending order. Folders are displayed before files.')
],
'description': nls.localize({ key: 'sortOrder', comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'] }, "Controls sorting order of files and folders in the explorer. In addition to the default sorting, you can set the order to 'mixed' (files and folders sorted combined), 'type' (by file type), 'modified' (by last modified date) or 'filesFirst' (sort files before folders).")
'description': nls.localize('sortOrder', "Controls sorting order of files and folders in the explorer.")
},
'explorer.decorations.colors': {
type: 'boolean',

View file

@ -596,7 +596,7 @@ configurationRegistry.registerConfiguration({
},
'search.quickOpen.includeSymbols': {
type: 'boolean',
description: nls.localize('search.quickOpen.includeSymbols', "Configure to include results from a global symbol search in the file results for Quick Open."),
description: nls.localize('search.quickOpen.includeSymbols', "Whether to include results from a global symbol search in the file results for Quick Open."),
default: false
},
'search.followSymlinks': {
@ -606,7 +606,7 @@ configurationRegistry.registerConfiguration({
},
'search.smartCase': {
type: 'boolean',
description: nls.localize('search.smartCase', "Searches case-insensitively if the pattern is all lowercase, otherwise, searches case-sensitively"),
description: nls.localize('search.smartCase', "Search case-insensitively if the pattern is all lowercase, otherwise, search case-sensitively."),
default: false
},
'search.globalFindClipboard': {
@ -619,7 +619,7 @@ configurationRegistry.registerConfiguration({
type: 'string',
enum: ['sidebar', 'panel'],
default: 'sidebar',
description: nls.localize('search.location', "Controls if the search will be shown as a view in the sidebar or as a panel in the panel area for more horizontal space."),
description: nls.localize('search.location', "Controls whether the search will be shown as a view in the sidebar or as a panel in the panel area for more horizontal space."),
}
}
});