提交 242b3d1c 编写于 作者: D David Lechner 提交者: Benjamin Pasero

Add .git/subtree-cache/ to files.watcherExclude (#26665)

上级 443116c7
...@@ -261,7 +261,7 @@ configurationRegistry.registerConfiguration({ ...@@ -261,7 +261,7 @@ configurationRegistry.registerConfiguration({
}, },
'files.watcherExclude': { 'files.watcherExclude': {
'type': 'object', 'type': 'object',
'default': platform.isWindows /* https://github.com/Microsoft/vscode/issues/23954 */ ? { '**/.git/objects/**': true, '**/node_modules/*/**': true } : { '**/.git/objects/**': true, '**/node_modules/**': true }, 'default': platform.isWindows /* https://github.com/Microsoft/vscode/issues/23954 */ ? { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/node_modules/*/**': true } : { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/node_modules/**': true },
'description': nls.localize('watcherExclude', "Configure glob patterns of file paths to exclude from file watching. 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': nls.localize('watcherExclude', "Configure glob patterns of file paths to exclude from file watching. 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.")
}, },
'files.hotExit': { 'files.hotExit': {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册