mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
readonly - clarify how glob patterns match from settings
This commit is contained in:
parent
9083e8dacf
commit
70ecd26862
|
@ -320,7 +320,7 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
|
|||
'patternProperties': {
|
||||
'.*': { 'type': 'boolean' }
|
||||
},
|
||||
'markdownDescription': localize('exclude', "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files from the local file history. Changing this setting has no effect on existing local file history entries."),
|
||||
'markdownDescription': localize('exclude', "Configure paths or [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files from the local file history. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Changing this setting has no effect on existing local file history entries."),
|
||||
'scope': ConfigurationScope.RESOURCE
|
||||
},
|
||||
'workbench.localHistory.mergeWindow': {
|
||||
|
|
|
@ -287,7 +287,7 @@ configurationRegistry.registerConfiguration({
|
|||
'.*': { 'type': 'boolean' }
|
||||
},
|
||||
'default': {},
|
||||
'markdownDescription': nls.localize('filesReadonlyInclude', "Configure paths or [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) to mark as read-only. You can exclude matching paths via the `#files.readonlyExclude#` setting. Files from readonly file system providers will always be read-only independent of this setting."),
|
||||
'markdownDescription': nls.localize('filesReadonlyInclude', "Configure paths or [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) to mark as read-only. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. You can exclude matching paths via the `#files.readonlyExclude#` setting. Files from readonly file system providers will always be read-only independent of this setting."),
|
||||
'scope': ConfigurationScope.RESOURCE
|
||||
},
|
||||
[FILES_READONLY_EXCLUDE_CONFIG]: {
|
||||
|
@ -296,7 +296,7 @@ configurationRegistry.registerConfiguration({
|
|||
'.*': { 'type': 'boolean' }
|
||||
},
|
||||
'default': {},
|
||||
'markdownDescription': nls.localize('filesReadonlyExclude', "Configure paths or [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) to exclude from being marked as read-only if they match as a result of the `#files.readonlyInclude#` setting. Files from readonly file system providers will always be read-only independent of this setting."),
|
||||
'markdownDescription': nls.localize('filesReadonlyExclude', "Configure paths or [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) to exclude from being marked as read-only if they match as a result of the `#files.readonlyInclude#` setting. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Files from readonly file system providers will always be read-only independent of this setting."),
|
||||
'scope': ConfigurationScope.RESOURCE
|
||||
},
|
||||
[FILES_READONLY_FROM_PERMISSIONS_CONFIG]: {
|
||||
|
@ -405,7 +405,7 @@ configurationRegistry.registerConfiguration({
|
|||
},
|
||||
'explorer.autoRevealExclude': {
|
||||
'type': 'object',
|
||||
'markdownDescription': nls.localize('autoRevealExclude', "Configure glob patterns for excluding files and folders from being revealed and selected in the Explorer when they are opened. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)."),
|
||||
'markdownDescription': nls.localize('autoRevealExclude', "Configure paths or [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders from being revealed and selected in the Explorer when they are opened. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths."),
|
||||
'default': { '**/node_modules': true, '**/bower_components': true },
|
||||
'additionalProperties': {
|
||||
'anyOf': [
|
||||
|
|
Loading…
Reference in a new issue