Context
The Explorer reads a folder's children once, when it's expanded, so after a git switch, a build or a script in another terminal it still lists deleted files and misses new ones, with no way to fix it short of collapsing the folder or restarting. This slice gives the user a dependable manual refresh. Pitch: #292.
Acceptance criteria
Tests
- The command re-reads every expanded folder: added, removed and renamed entries, at the root and nested.
- Expansion state preserved across a refresh; collapsed folders not re-read.
- Selection kept by path; falls to the neighbour when its entry is gone; handled when the selected folder or an expanded ancestor was deleted.
- Mnemonic
re registered and the prefix-free guard still passes.
- Command has no default binding.
Out of scope
Context
The Explorer reads a folder's children once, when it's expanded, so after a
git switch, a build or a script in another terminal it still lists deleted files and misses new ones, with no way to fix it short of collapsing the folder or restarting. This slice gives the user a dependable manual refresh. Pitch: #292.Acceptance criteria
Ctrl+E): the tree shows the new file and no longer shows the deleted one.Ctrl+Spacethenre.Tests
reregistered and the prefix-free guard still passes.Out of scope