readonly - clarify how glob patterns match from settings

This commit is contained in:
Benjamin Pasero 2023-05-11 20:58:13 +02:00
parent 9083e8dacf
commit 70ecd26862
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65
2 changed files with 4 additions and 4 deletions

View file

@ -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': {

View file

@ -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': [