zora-node icon indicating copy to clipboard operation
zora-node copied to clipboard

Show relative paths

Open unlight opened this issue 5 years ago • 2 comments
trafficstars

It would be nice to show relative paths instead of full. Like, src/app.test.spec.ts (forward slashed), but not \Dev\path\to\src\app.test.spec.ts:3:11 full path, back slashed

image

unlight avatar Jun 17 '20 08:06 unlight

sounds like a good idea, I am just a bit concerned: Some terminals manage to build clickable link from those stack traces. If we overwrite this behaviour we may break this handy behaviour

lorenzofox3 avatar Jun 18 '20 11:06 lorenzofox3

I did not think about it, but it seams keeping clickable file paths is reasonable too.
I found this gist Hyperlinks (a.k.a. HTML-like anchors) in terminal emulators

unlight avatar Jun 18 '20 13:06 unlight