Skip to content

Refresh explorer re-reads every expanded folder (#332) - #345

Merged
jamescrosswell merged 1 commit into
mainfrom
milestone-332-explorer-refresh
Sep 29, 2026
Merged

jamescrosswell merged 1 commit into
mainfrom
milestone-332-explorer-refresh

Conversation

@a-team-app

@a-team-app a-team-app Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Refresh explorer (Ctrl+E, or Ctrl+Space then re) re-reads every expanded folder, so files added or removed outside TuiCode show up without collapsing folders or restarting. Expanded folders stay expanded, the selection stays on the same file (or moves to its neighbour if that file is gone), and the tree only scrolls if it has to. It has no default key; one can be bound in Settings › Keyboard Shortcuts.

Closes #332

Choices beyond the task:

  • It's offered in the palette and leader from anywhere once a folder is open, not only from the Explorer.
  • Run from the Explorer through the palette or leader, the keys go back to the Explorer rather than the editor.

a-team try tuicode 345

Registered Global with mnemonic re and no default key. Refresh re-reads
from the root through RefreshKeepingExpansion, then reselects by path; a
vanished selection moves to the neighbour of the first missing entry on
its path, taken from the tree's listing before the refresh.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@a-team-app
a-team-app Bot marked this pull request as ready for review September 29, 2026 07:14
@jamescrosswell
jamescrosswell merged commit 46c3a85 into main Sep 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I can refresh the Explorer when it's out of date

1 participant