@po.dev/pi-file-ref-links0.1.0
Render File references lines as plain path:line so terminal Ctrl+click can open them
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-file-ref-links
Pi extension that formats the File references section of assistant replies so each path:line (or path:line:column) line is clickable from a terminal Ctrl+click mapping (e.g. Neovim).
Install
pi install npm:@po.dev/pi-file-ref-links
Or load locally:
pi -e ./file-ref-links/index.ts
How it works
- Finds the last
**File references**header in an assistant message - Renders every bare
path:lineorpath:line:columnline below it as inline code - Other messages and lines are left untouched