atom-community / atom-community/autocomplete-paths

Rebuilding cache when modify or create a file

Open
#227 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
152
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Currently in windows if i rename or create a new file in a project it doesnt trigger cache rebuild, and I always have to reload atom.

Shouldn't we use event onDidChangeFiles instad of onDidChangePaths in paths-cache.js?

Contributor guide

Open the contributing guide

Research direction

Start in paths-cache.js and compare the existing onDidChangePaths handling with the proposed onDidChangeFiles event. Reproduce the Windows behavior by creating or renaming a project file, then verify that the cache rebuilds without reloading Atom.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.