Skip to content

Diffline 0.3.2

Choose a tag to compare

@arminkarimi arminkarimi released this 14 Oct 00:44
· 14 commits to main since this release

Open a review from a link, and see the pull request before its diff is ready.

Open a pull request from a link, and see its page before the diff is drawn.

  • Open a review from a link. vscode://arminkarimi.diffline/open?url=<GitHub pull request link> or ?pr=owner/name%23123 (cursor:// in Cursor) opens that review from a browser, a chat or a terminal. A link only opens the review and adds it to the sidebar; it never runs the agents or posts anything, and one Diffline can't read shows a warning. Diffline: Copy Link to This Review, in the Command Palette or a sidebar row's menu, copies the link. Open a Pull Request… has a shortcut, ⌥⇧⌘P on macOS and Ctrl+Shift+Alt+P on Windows and Linux, and starts with the pull request on your clipboard.
  • The page shows before the diff. Opening a pull request no longer refreshes the sidebar. The page shows as soon as GitHub answers, with the description, Discussion, Workflow, checks and the agent briefing, and "Loading the changes…" until the diff is ready; then the changes fill in without a reload. Diffline fetches the pull request's head while GitHub answers. On a large pull request the page shows in about 1 s instead of 4 to 8 s; drawing a large diff still takes about 3 s. Small pull requests open in one go.
  • Timings in the log. Diffline: Show Agent Log says how long each open took: GitHub's answer, building the diff, and drawing the page and the changes.