Open files and links from a pane
Click a file path, URL, pull request or work item an agent prints and read it without leaving Griddler.
Where: Any pane→hover over a path or link
When an agent prints a file path, a URL or a reference like PR #1234, it underlines when you hover. Click it.
Markdown, code, web pages, PDFs, images and folders open in a viewer inside Griddler; documents and media open
in the app your computer normally uses.
What you can click
| Text in the pane | Click opens |
|---|---|
A .md file | The markdown viewer, rendered. |
A code or text file, with or without :line | The source viewer, scrolled to that line and highlighted. |
An .html, .svg, .pdf or image file | A preview inside Griddler. |
| A folder path | The folder viewer. |
A .zip file | The zip viewer: every file's name and size, nothing extracted. Files in it can't be opened from there. |
| An Office file, video or audio file | Your default app for that file type. |
https://…, localhost:3000, or a bare host like example.com | Your default browser. |
PR #1234, pull request 1234 | The pull request, in the repository's Azure DevOps or GitHub. |
work item 1234, WI 1234, AB#1234 | The work item in Azure DevOps. |
PLAN-123 | The Jira issue. |
Paths are read relative to the pane's repository, and ~ means your home folder. If the file isn't there,
Griddler tries the folder above, then the other repositories you've used, most recent first. Line numbers work
in the forms agents print them: app.py:1706, app.py:1706:5, app.py(1706), app.py#L1706. A path the agent
wrapped across two lines still opens.
Some agents print a link as underlined words instead of an address. Clicking one opens it in your browser.
Open in your own app or file browser instead
| Click | Does |
|---|---|
| Ctrl/⌘+click on a path | Opens the file in its default app. |
| Shift+click on a path | Shows the file in Explorer, Finder or your file manager. |
Griddler never runs a program from a link. Programs, installers and shortcuts aren't underlined. A script is: a plain click shows its source, and Ctrl/⌘+click shows Won't run … from a link. Shift+click reveals it.
Move around the viewer
The viewer works like a small browser. Links in a markdown file open in the viewer; web links open in your browser.
| Control | Does |
|---|---|
| ‹ / › | Back and forward, once you've opened a second page. Also Alt+← / →, ⌘+[ / ] on macOS, or your mouse's back and forward buttons. |
| ✕ | Closes the viewer. Esc does the same. |
| ☾ Dark / ☀ Light | In a web or image preview, shows a light page dark. Griddler remembers your choice. PDFs always show as written. |
| ↗ Default app | Opens the previewed file, or the zip, in its default app. |
| ↗ Explorer / ↗ Finder / ↗ Files | In the folder viewer, opens the folder in your file browser. |
In the folder viewer, folders are listed first and .. goes up one level. Clicking a file opens it the same way as clicking its path in a pane.
Limits
- Text files over 2 MB show File too large to preview. Use Ctrl/⌘+click instead.
- The folder viewer lists 500 entries, then says …and N more — open in Explorer for the rest. (Finder or Files on other systems). Use ↗ Explorer, ↗ Finder or ↗ Files.
- The zip viewer lists 500 files, then says …and N more — open it for the rest. Use ↗ Default app.
- Jira links work for
PLAN-keys only. PR #and work item links need the pane's repository to have an Azure DevOps or GitHub remote. Without one you see No Azure DevOps or GitHub remote in ….- Text you're typing in the agent's prompt box is never turned into links.
- A pane popped out with ⇱ has no clickable links. See Arrange the grid.
Related
- Web cells: keep a web page open in the grid instead of a viewer.
- Keyboard shortcuts