evanw / evanw/node-source-map-support

Format the output so it can be clicked

Offen
#296 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.2k
Forks
223
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.