-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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 hyperlinks to specific file line numbers in the terminal #66957
Comments
VSCode already supports links to pisition in file, however filename should be immediately followed by line (and column). Since output is plain text it is impossible to tell that it is line:number in file, and not time stamp on general case. You can try unix formatter that will output compatible path:line:column, and you'll be able to Ctrl+click on them to navigate to the exact position |
Yeah since the text is separated it's very difficult to associate it with the link, there are several formats supported for line/col but they're all on the same line something like this |
Thanks @Tyriar @IllusionMH |
@keyvan-m-sadeghi if you are about file names in stack trace - that's not enough info to make it a link. For example we have about 200 |
@keyvan-m-sadeghi see #22772, if ava changed to it to print ./index.js:line:col instead then it would work. #22772 may not be able to get resolved, at least with the current design of validating the paths, as doing so would require pinging the disk basically for every single word in the terminal. |
Would it be possible to support hyperlinks that open to a specific file and line number in the terminal?
For example, if the output below displayed in the terminal -
I could click on
9:35
and it would open theFoo.js
file and move focus to line 9.The text was updated successfully, but these errors were encountered: