-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Switch the pretty output to use colons to separate file:line:char so that lines are clickable in terminals #20736
Conversation
Actually the current format is clickable inside VScode, but this way it works both in sublime and atom. Unfortunately I cannot verify if this works in VSCode tonight, maybe someone else can verify it? |
Cool! Carry on then :) |
Sorry, the baselines are now out of date because I just merged in #20416. |
@DanielRosenwasser The VS Code TS extension doesn't use |
17260b2
to
9c67064
Compare
Cool - that should be it updated & rebased 👍 |
VS doesn't appear to use that option. |
…that lines are clickable in terminals
9c67064
to
2be5bae
Compare
thanks @orta! and sorry for the delay. |
You're welcome, it was over the holidays, so low expectation 👍 |
When
tsc
, withpretty
enabled, gives an error messages they look like this:You cannot directly click on
source/commands/init/state-setup.ts(21,40):
to jump directly to the line of code, which is ideal. The format, by convention, for that syntax isfile:line:char
- which this PR switches the message format to.For example, most testing libraries will output in this format (though I think this just comes from node's exception handling, but you get the point)
I couldn't find an issue for this, happy to write one up, but it seemed simple enough to just write a PR instead.