evanw / evanw/node-source-map-support

Format the output so it can be clicked

Open
#296 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

Currently the error message will be like:

```
at BrowserWindow. (/Applications/TiddlyGit.app/Contents/Resources/app.asar/.webpack/main/webpack:/TiddlyGit/src/services/windows/index.ts:227:24)
```

In which the former part can be clicked

( `/Applications/TiddlyGit.app/Contents/Resources/app.asar/.webpack/main/webpack` )

but it is actually useless.

I hope we can click on the later part

(` /TiddlyGit/src/services/windows/index.ts:227:24 `)

but it is start with project folder name `/TiddlyGit` , so when open the log file with VSCode ,it won't detect this as path.

Hope we can properly format the path, so later part can be click or copy to used for the file jump.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.