autocomplete-paths: Rebuilding paths cache... never finishes on large projects

Description

I see Rebuilding paths cache... 0 files in the status bar, autocomplete-paths never provides it’s functionality of path autocompletion

Steps to Reproduce

  1. Install the plugin
  2. Open a large project
  3. Notice that Rebuilding paths cache... 0 files never completes (or seems to even make progress) and path autocompletion does not work

Expected behavior: Rebuilding the paths cache finishes and path autocompletion works

Actual behavior: Rebuilding the paths cache never finishes and path autocompletion does not work

Reproduces how often: Always

Versions

Any additional information, configuration or data that might be necessary to reproduce the issue. Atom: 1.24.0 autocomplete-paths: 2.12.2

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 3
  • Comments: 15 (2 by maintainers)

Most upvoted comments

@bassamanator does running application: clear project history solve the issue?

Your case is a rare case. I think the file that stores the project history has become corrupted for some reason.

⚠️ the following removes the cache completely (if the above command does not fix it):

If you really want to clean all the Atom cache you should remove these folders: Windows

C:\Users\yourname\.atom\.node-gyp
C:\Users\yourname\.atom\storage
C:\Users\yourname\.atom\.apm
C:\Users\yourname\.atom\.npm
C:\Users\yourname\.atom\compile-cache
C:\Users\yourname\.atom\snapshot-cache
C:\Users\yourname\.atom\atom-shell
C:\Users\yourname\.atom\electron
C:\Users\yourname\AppData\Local\Temp\atom-build
C:\Users\yourname\AppData\Local\Temp\atom-cached-atom-shells

Linux:

~/.atom/.node-gyp
~/.atom/storage
~/.atom/.apm
~/.atom/.npm
~/.atom/compile-cache
~/.atom/snapshot-cache
~/.atom/atom-shell
~/.atom/electron

Just had to disable the autocomplete-paths package for Atom to work normally