-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support relative paths in output and repl #6217
Comments
I think this is just how our path detection works, and the new paths are not detected. @bpasero ? |
Yes, for output and repl we only detect absolute paths as links: https://github.com/Microsoft/vscode/blob/ben/stacks/src/vs/workbench/parts/output/common/outputWorker.ts#L73 Maybe we should revisit this though. The reason we pick absolute paths is to have less false positives but maybe when we include the full error pattern (line:column) we will not get false positives even if we support relative paths. The downside is that we always need to root relative paths to the workspace path and that might be a wrong assumption. |
Wouldn't it be possible to use the |
Yes, I think bringing in support for using problem matcher patterns is a good idea. |
I appreciate the general fix to this is to support relative paths, and additional support for problem matchers would be awesome (I did try it!). I hope that the fact that this is not a general language problem but a TypeScript problem should influence it's priority. Heck, you guys are using TS 1.8 in vscode itself, do you not miss these? Or maybe you never have any errors :) |
With the release of VSC 1.6, that ships with TS 2.0, a lot of people are going to run into this more often now, trying to hook up things to work with How I wish I could click on these...
|
@joebehymer You can now configure your tasks to send output to the integrated terminal which supports links on relative paths. https://code.visualstudio.com/updates/v1_9#_task-execution-in-terminal |
The problem is, that this ignores the the directory specified in the
So all of my links which are starting with |
cc @Tyriar our terminal expert |
We are working on supporting problem matchers in the terminal which then will take the |
Marking as dup of #21928 since there is no link matching planned in the old output runner. |
Steps to Reproduce:
with TypeScript 1.6 (working):http://imgur.com/sIQLu8I
with TypeScript 1.8 (broken): http://imgur.com/qePitPw
I have a pretty vanilla tasks.json that calls grunt (which uses grunt-ts). The output seems to match line 80 here, yet I can't click the lines to navigate. I believe this is because of a recent tsc version update to 1.8, and I downgraded back to 1.6 to verify.
The text was updated successfully, but these errors were encountered: