Skip to content

adds to files.exclude desc re: explorer.excludeGitIgnore#165111

Merged
lramos15 merged 2 commits intomicrosoft:mainfrom
hughlilly:files-exclude-desc
Nov 14, 2022
Merged

adds to files.exclude desc re: explorer.excludeGitIgnore#165111
lramos15 merged 2 commits intomicrosoft:mainfrom
hughlilly:files-exclude-desc

Conversation

@hughlilly
Copy link
Contributor

Adds a note to the settings label/description for files.exclude to prompt the user to also check the explorer.excludeGitIgnore setting. Prompted by spending ~45 mins trying to remedy the same situation raised in #108206.

(I had explorer.excludeGitIgnore set to true, so no matter what changes I made to files.exclude and files.watcherExclude, the Explorer did not show the node_modules directory Turning off the excludeGitIgnore remedied this.)

Adds a note to the description for `files.exclude` to prompt the user to also check the `explorer.excludeGitIgnore` setting.
w3bdesign
w3bdesign previously approved these changes Nov 1, 2022
@isidorn isidorn assigned lramos15 and unassigned isidorn Nov 1, 2022
@lramos15 lramos15 merged commit a5478bc into microsoft:main Nov 14, 2022
@hughlilly hughlilly deleted the files-exclude-desc branch November 14, 2022 19:42
[FILES_EXCLUDE_CONFIG]: {
'type': 'object',
'markdownDescription': nls.localize('exclude', "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders. For example, the file explorer decides which files and folders to show or hide based on this setting. Refer to the `#search.exclude#` setting to define search-specific excludes. See also `#explorer.excludeGitIgnore#`."),
'markdownDescription': nls.localize('exclude', "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders. For example, the file explorer decides which files and folders to show or hide based on this setting. Refer to the `#search.exclude#` setting to define search-specific excludes. Refer to the `#explorer.excludeGitIgnore#` setting for ignorings files based on your `.gitignore`."),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lramos15, thanks for this fix. Unfortunately it introduced a typo: "ignorings files" should have been "ignoring files".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, silly me. I'll fix this thanks

@hughlilly hughlilly restored the files-exclude-desc branch November 14, 2022 19:52
@hughlilly hughlilly deleted the files-exclude-desc branch November 18, 2022 22:18
@aeschli aeschli added this to the November 2022 milestone Dec 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants