Skip to content
Lea Fox edited this page Oct 25, 2017 · 3 revisions

Maximum file limit exceeded

In order to stay efficient while searching for path suggestions, autocomplete-paths does some indexing on startup. In large projects, this might cause the message Maximum file limit of 2000 files exceeded to appear, resulting in autocomplete-paths being disabled.

This can have multiple reasons:

  • You're actually working on a large project with > 2000 files. In this case, please increase the maximum file count option.
  • Your project is not git-backed. In this case, atom will not be able to recognize ignored files, therefore it will index your whole project, including directories like node_modules (which might include huge dependencies with many files).
  • You opened a directory containing multiple git-backed directories. In this case, atom will not be able to recognize the git status inside the subdirectories, causing the same problem like above.
  • If you have addressed all of the aforementioned issues and still receive there error, try checking the Exclude VCS setting in your Core Atom Settings.
Clone this wiki locally