Ctrl-click: consider supporting :<row>:<col> in FS URLs and paths #14233

Closed
opened 2026-01-31 04:04:31 +00:00 by claunia · 3 comments
Owner

Originally created by @mitranim on GitHub (Jun 15, 2021).

Description of the new feature/enhancement

In many languages, stacktraces include :<row>:<col> into paths. The convention is strong and supported by many code editors. Being able to click directly into the offending code is extremely convenient!

Working example: MacOS + iTerm2 + generate an exception in Node/Deno, or a panic in Go. Click any FS path in the stacktrace.

Proposed technical implementation details (optional)

iTerm2 supports this feature at a high cost. The source code has a lot of special-case editor detection. Hopefully there's a simpler solution for WT.

Originally created by @mitranim on GitHub (Jun 15, 2021). # Description of the new feature/enhancement In many languages, stacktraces include `:<row>:<col>` into paths. The convention is strong and supported by many code editors. Being able to click directly into the offending code is extremely convenient! Working example: MacOS + iTerm2 + generate an exception in Node/Deno, or a panic in Go. Click any FS path in the stacktrace. # Proposed technical implementation details (optional) iTerm2 supports this feature at a high cost. The source code has a lot of special-case editor detection. Hopefully there's a simpler solution for WT.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 04:04:31 +00:00
Author
Owner

@skyline75489 commented on GitHub (Jun 15, 2021):

I love this in iTerm2. I'd also like to see this when #2671 is implemented. As for editor detection, I think first-party VSCode support can be a good first step.

@skyline75489 commented on GitHub (Jun 15, 2021): I love this in iTerm2. I'd also like to see this when #2671 is implemented. As for editor detection, I think first-party VSCode support can be a good first step.
Author
Owner

@DHowett commented on GitHub (Jun 17, 2021):

Thanks for the request! We're looking at solving this issue all-up in /dup #8849.

@DHowett commented on GitHub (Jun 17, 2021): Thanks for the request! We're looking at solving this issue all-up in /dup #8849.
Author
Owner

@ghost commented on GitHub (Jun 17, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jun 17, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14233