Issue preview cards
Comments reference the tracker all the time — // fixes #123, // see GH-42,
// supersedes https://github.com/owner/repo/pull/552. Kiln reads those
references out of your comments and renders a small preview card in the margin,
right beside the code that mentions them.
The card links straight to the issue or PR. Where the GitHub CLI (gh) can
answer, it goes further and fills in the title and an open/closed/merged dot, so
you can tell whether #123 is still live without leaving the editor.
What gets matched
The scanner only looks inside comments — it rides the highlighter's comment
ranges, the same seam the TODO tags and @mentions use — so a # in a string,
a Swift macro like #Preview, or an { HTML entity is never mistaken for
an issue. Three shapes are recognised:
#123— a bare number, resolved against the workspace's own repo.GH-123/gh-123— the same, case-insensitive.- A full
github.com/owner/repo/issues/123or/pull/123URL — which can point at any repo, not just this one, and tells an issue from a PR by its path.