3 ms·
> When my Rust program panics and prints that it failed in my_crate::foo::bar function, I want this to be a hyperlink to the source code of the function. I had
by ithkuil 5y ago
> When my Rust program panics and prints that it failed in my_crate::foo::bar function, I want this to be a hyperlink to the source code of the function.
I had some success with good old plan 9 plumber (via the plan9 from user space distribution for Linux/Mac). You can define you're rules for which text to match under which context and it can send data to other programs, which can be scripts that talk to your editor and translate the clicked text into the right file and location to open.