sourcegraph / openctx

See contextual info about code from your dev tools, in your editor, code review, and anywhere else you read code.
https://openctx.org
Apache License 2.0
149 stars 17 forks source link

Linear Comment Hovers #154

Open RXminuS opened 4 months ago

RXminuS commented 4 months ago

I was working on some improvements to Cody's bug reproduction workflow and thought it'd be really nice to have an easier way to linking information about which issue is relevant to a specific test.

I thought about two ways we could add these.

The first is just simply looking for linear URLs. CleanShot 2024-06-17 at 17 35 43

The second one could maybe be more broadly applied to all OpenCtx providers? Just like how with TODO comments we could introduce a CTX comment that could hint (as some URIs are obvious) at the provider and supply some URI for that provider to use. CleanShot 2024-06-17 at 00 15 55@2x