anthraxx/intellij-awesome-console

Filepath links in TSC error messages incorrect

DerGernTod opened this issue · 0 comments

with a text like this:
✘ Error at C:/project/node_modules/typescript/lib/lib.webworker.d.ts:1930:6: Duplicate identifier 'ServiceWorkerState'.

the last colon is added to the link, rendering it unusable:

[Window Title]
file:///C:\project\node_modules\typescript\lib\lib.webworker.d.ts:1930:6:

[Content]
Windows cannot find 'file:///C:\project\node_modules\typescript\lib\lib.webworker.d.ts:1930:6:'. Make sure you typed the name correctly, and then try again.

would be nice if you could detect line number and colon, then pass this to intellij to open the file at the correct place