Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go to File causes error "spawn ENAMETOOLONG" #109380

Closed
doucette opened this issue Oct 26, 2020 · 3 comments
Closed

Go to File causes error "spawn ENAMETOOLONG" #109380

doucette opened this issue Oct 26, 2020 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality search Search widget and operation issues
Milestone

Comments

@doucette
Copy link

I created this issue to continue the discussion from #94718 which was automatically locked.

We took the suggestion of moving our exclusions from files.exclude into an .ignore file, and it worked great to fix the search issue, but I didn't notice at the time that .ignore doesn't filter File Explorer. Depending on the project, the exclude patterns that we use in .ignore can exclude well over a million files from the workspace, and it would be good to have a setting that allows us to do this without breaking search.

@roblourens asked in #94718 (comment) to write back if it didn't work for us. If files.exclude can't handle our hundreds of exclusions, then we would love to see a new setting to have ignore files considered anywhere that files.exclude is used, similar to search.useIgnoreFiles. That request relates to #38878 but would be for .ignore files as well.

@roblourens
Copy link
Member

roblourens commented Oct 26, 2020

Something else I'd like to do is to write files.exclude patterns into a file and tell rg to use that, which would get around the issue with having too much on the command line, but let files.exclude work as it should. We would also have to find another .ignore file that the user is using, and merge those patterns into ours. But this would probably be a better solution. I am wrapped up in other issues right now and I'm not sure when I will get to this however.

@roblourens roblourens added feature-request Request for new features or functionality search Search widget and operation issues labels Oct 26, 2020
@roblourens roblourens added this to the Backlog milestone Oct 26, 2020
@connor4312
Copy link
Member

/duplicate #98514

@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

4 participants
@doucette @roblourens @connor4312 and others