Reported from live use.
Current behaviour
Typing :e opens the file list with a small popup preview beside it, showing roughly the first few bytes of the highlighted file.
Wanted behaviour
Drop the popup. As the selection moves up and down the file list, the full-screen buffer behind the picker should render the highlighted file exactly as it would look had you just opened it — same viewport, same highlighting, same gutter. Moving the selection swaps what is rendered behind you.
The picker stays on top; the whole background is the preview.
Notes
- Existing state lives in
initialCommandLineFilePreviewState() (src/app/workspace/init.ts) and the preview render path in src/app/workspace/viewer-content.ts (renderPreview).
- Worth deciding whether the preview reuses the real editor render path so it cannot drift from "what you would actually see", rather than a second renderer that approximates it.
- Interaction with reading budgets: previewing every file the cursor passes over should stay bounded. Needs a policy for large files.
Reported from live use.
Current behaviour
Typing
:eopens the file list with a small popup preview beside it, showing roughly the first few bytes of the highlighted file.Wanted behaviour
Drop the popup. As the selection moves up and down the file list, the full-screen buffer behind the picker should render the highlighted file exactly as it would look had you just opened it — same viewport, same highlighting, same gutter. Moving the selection swaps what is rendered behind you.
The picker stays on top; the whole background is the preview.
Notes
initialCommandLineFilePreviewState()(src/app/workspace/init.ts) and the preview render path insrc/app/workspace/viewer-content.ts(renderPreview).