Skip to content

feat(files): open files in the default app / Notepad++; remote files edit locally and sync back - #2

Merged
Atreus-X merged 1 commit into
mainfrom
feature/open-external
Sep 24, 2026
Merged

Atreus-X merged 1 commit into
mainfrom
feature/open-external

Conversation

@Atreus-X

Copy link
Copy Markdown
Owner

Double-clicking a file in the file browser now opens it in the OS default app, and the file menu gains Open in Notepad++ and Open With… (Windows).

  • preview:doubleclickopen: external (default) or preview (old in-Wave behavior). Folders still navigate.
  • Windows: with no associated app, the "Open with" picker is shown.
  • Remote (SSH/WSL) files are downloaded to a temp folder, opened locally, and uploaded back to the host on every save (directory watch, so editors that save via rename work too). If the remote file changed since it was opened, you're asked before it's overwritten. A notification reports each upload/failure. Temp copies older than 7 days are removed at startup.
  • preview:externaleditor: editor for "Open in …"; empty = auto-detect Notepad++ in the standard Windows install folders.

Tested: npm run build:prod passes; no type errors in touched files. Not yet exercised in the running app (needs a Windows install to try Notepad++ / Open With).

🤖 Generated with Claude Code

https://claude.ai/code/session_01JhvhnSTH8EXbTG9wmtY7dd

…s edit locally and sync back; "Open in Notepad++"

- Double-clicking a file in the file browser opens it in the OS default
  application (preview:doubleclickopen, default "external"; "preview"
  restores the old in-Wave preview). Folders still navigate.
- Windows: when no application is associated, the "Open with" picker
  is shown instead of failing; elsewhere the file is revealed.
- Remote (ssh/wsl) files are downloaded to a per-file temp dir, opened
  locally, and uploaded back on every save (directory watch, so
  rename-based saves work too). If the remote changed since it was
  opened, the user is asked before overwriting. Notifications report
  uploads/failures; temp copies older than 7 days are cleaned at start.
- File context menu: "Open in Default Application", "Open in
  Notepad++" (or the editor from preview:externaleditor; auto-detected
  in the standard Windows install locations), and "Open With…" on
  Windows, for local and remote files ("(edit locally)").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JhvhnSTH8EXbTG9wmtY7dd
@Atreus-X
Atreus-X merged commit 8a1ed1a into main Sep 24, 2026
@Atreus-X
Atreus-X deleted the feature/open-external branch September 24, 2026 12:15
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.

1 participant