Skip to content
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

Terminal does not to show an occurred error as a link #94457

Closed
ebonat opened this issue Apr 5, 2020 · 10 comments
Closed

Terminal does not to show an occurred error as a link #94457

ebonat opened this issue Apr 5, 2020 · 10 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster

Comments

@ebonat
Copy link

ebonat commented Apr 5, 2020

Terminal does not to show an occurred error as a link.

Steps to Reproduce:

  1. Run any Python code with any error and this error will not have any link to point to the line number where it occurred in the terminal.

This is very important to click on the link and jump to the line of code where it's occurred. I'm using VS Code 1.43.2 release.

Thank you for your help.

@Tyriar
Copy link
Member

Tyriar commented Apr 6, 2020

Please provide OS distro/version and a screenshot of the error that doesn't get a link

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Apr 6, 2020
@ebonat
Copy link
Author

ebonat commented Apr 6, 2020

OS distro/version:

Version: 1.43.2 (user setup)
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Simple Python code:

import urllib
print("urllib: {}".format(urllib.version))

Error:

File "e:/Visual WWW/Python/1000_python_workspace/versions_check/src/versions.py", line 74, in main
print("urllib: {}".format(urllib.version))
AttributeError: module 'urllib' has no attribute 'version'

The line:

File "e:/Visual WWW/Python/1000_python_workspace/versions_check/src/versions.py", line 74, in main

should be a link to point to line 74 where the error occurred. this happens all the time with VS Code Version: 1.43.2

thanks for your help!

@Tyriar
Copy link
Member

Tyriar commented Apr 6, 2020

This is happening because of the space in the path which isn't supported yet but should be eventually.

@Tyriar
Copy link
Member

Tyriar commented Apr 6, 2020

/duplicate #21125

@Tyriar Tyriar closed this as completed Apr 6, 2020
@ebonat
Copy link
Author

ebonat commented Apr 6, 2020

OK, so what do we do now? any work around available at this time?

@Tyriar
Copy link
Member

Tyriar commented Apr 6, 2020

Current workaround is to use double click to copy the URL and then ctrl+p to open the file

@ebonat
Copy link
Author

ebonat commented Apr 6, 2020

The file is already open in VS Code!

@Tyriar
Copy link
Member

Tyriar commented Apr 6, 2020

If you're after go to line it's ctrl+g, 74

@ebonat
Copy link
Author

ebonat commented Apr 6, 2020

OK - thanks!

@github-actions github-actions bot locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants
@Tyriar @ebonat and others