autocomplete-paths: Maximum file count of 2000 has been exceeded. Path autocompletion will not work in this project.

maximum-file-limit-exceeded

above document cannot solve this issues;

1、less 2000 file in my project 2、there is a .gitignore file in my project 3、node_modules is in .gitignore file

i try deleted node_modules folder and this issue will be solve

i am trouble with Your project is not git-backed in maximum-file-limit-exceeded wiki?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 7
  • Comments: 41

Most upvoted comments

i solved by uninstall all of atom plugins and atom itself

I was having this problem and I seem to have resolved it by checking “Exclude VCS Ignored Paths” on the Atom Settings -> Core page.

image

It seems like maybe this package isn’t respecting the globs set in “Ignored Names” in the settings and is maybe instead relying only on the “Exclude VCS Ignored Paths” setting? Is that so?

image

Edit: on macOS Sierra

Hello, guys !

I had a same problem, which I have already solved.

As first open the instaled packages -> Find out “autocomplete-paths” package and open it’s settings (https://imgur.com/a/lSKcK) -> When the settings are opened, scroll down and find out a label called “Max Fail Count” and change the number from 2.000 e.g. to 10.000. Restart Atom and it should be done.

It solved my problem. Wish you good luck!

Just add the dir “node_modules” into “Preferences -> Core -> Ignored Names” and relax 😃

Just a comment: it would be nice if atom (or this package?) honored .gitignore (or maybe .atomignore?) in directories that don’t have .git/ directory. For example, my ~/.atom is not git-backed, but I open that folder frequently.

🎉 This issue has been resolved in version 2.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@stevematdavies and for anyone still having this issue. Go to your config.cson file [settings -> open config folder on the left tab] and add node_modules to the ignoredNames like the following:

auto complete paths

You can add any other names that you want to be ignored as well.

I puslished a fork, use it brefore request merged. https://atom.io/packages/autocomplete-paths-ignore-circle-symlinks

Hello. I was troubled by this issue. I pulled a request, it will solve it. https://github.com/atom-community/autocomplete-paths/pull/195

That’s not a solution, @StepanPanek. It’s just a bandaid. If you have more than 10k files in node_modules (a really easy task), then you’ll get the error. Not to mention that your memory usage will skyrocket AND your autocomplete will get muddied up with a bunch of useless files.

Mike Stop Continues Website https://mikestopcontinues.com/ · Facebook https://www.facebook.com/stopcontinues https://mail.google.com/ · Twitter https://twitter.com/stopcontinues Want free books? Join my list http://mikestop.com/starter.

On Fri, Oct 13, 2017 at 7:12 PM, StepanPanek notifications@github.com wrote:

Hello, guys !

I had a same problem, which I have already solved.

As first open the instaled packages -> Find out “autocomplete-paths” package and open it’s settings (https://imgur.com/a/lSKcK) -> When the settings are opened, scroll down and find out a label called “Max Fail Count” and change the number from 2.000 e.g. to 10.000. Restart Atom and it should be done.

It solved my problem. Wish you good luck!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atom-community/autocomplete-paths/issues/164#issuecomment-336588134, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJLokbynMFDmj8EtF8bv6TCfkoTUC43ks5sr-5qgaJpZM4Pdly_ .

@saschagehlich Just tried with the latest version and got the same issue. I have solved the problem in the sort-term by using Exclude VCS Ignored Paths and setting the Ignored Names but this is not ideal for me as I like quick access to ignored files especially for hunting through node_modules/ code.

screen shot 2017-10-09 at 10 14 41

I have been getting the same issue for several weeks, My project is git backed, node_modules is properly ignored and clearing node_modules fixes the issue.