Skip to content

[FEAT] Terminal: open files from printed paths - #27

Open
ihatemodels wants to merge 1 commit into
mainfrom
feat/terminal-file-links
Open

ihatemodels wants to merge 1 commit into
mainfrom
feat/terminal-file-links

Conversation

@ihatemodels

Copy link
Copy Markdown
Member

What this does

Click file paths printed in terminal output to open files on their original machine, including specific lines and columns. Directory links reveal folders in Files. Missing or ambiguous paths show an error instead of opening a broken tab.

Summary

  • Detect paths across CLI and TUI output, including quoted names, Unicode text, wrapped lines and source positions.
  • Validate targets using pane context, check parent folders for missing bare relative paths and reject stale clicks after workspace or connection changes.
  • Add regression coverage for path handling and display full requested paths in file errors.

Detect printed paths across CLI and TUI output and resolve targets on their originating machine. Open files at source positions and reveal directories in Files after validating paths.

Handle quoted paths, Unicode cells, wrapped lines, stale clicks and cancelled requests. Add regression coverage and show requested paths in file errors.
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