-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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 path links that contain spaces in the integrated terminal #97941
Comments
For the case that you linked I don't think it's expected that it would be linkified on Linux and macOS when the |
just the error output generated by the python interpreter |
Am i having the same issue, or is this different? In the terminal, paths in the Python traceback are not linked/clickable if there is a space in the path, even though the path is quoted. For example:
That seems to be the issue referenced by microsoft/vscode-python#7491 (closed and conversation locked) which was moved to #81190 (closed and conversation locked) which is marked as a duplicate of #21125 which is supposedly fixed (closed and conversation locked). Same problem for traceback inlined in the code editor while debugging (i'm not sure what this UI component is called, or where to find out). |
@smcoll this is the same issue yes. As of 1.49.0 we have stabilized the link provider API which would allow Python to add better support to Python-specific link formats like this one. The problem we face is the output could be literally everything, so our list of detection continues to grow and get slower and slower. While we could provide better support for spaces in names (that's what this issue is about), Python could improve the support by making this link do something with
And maybe even give this line a link to do something useful:
FYI @luabud |
@Tyriar is the line considered Python-specific because it's a format used in Python tracebacks? And are you saying that Python support could choose to link right to that line in the file, for example? i opened microsoft/vscode-python#7491 hoping that the original issue for the Python extension can be re-opened. |
@smcoll I commented on microsoft/vscode-python#13989 |
I don't think this is python specific –– I'm encountering the same bug in Node.js |
Same here with Julia. Version : 1.54.3 |
Hey, this still happens to me, any updates? |
I am also having this issue with Typescript and any other languages I have tried. It makes VSCode unusable for debugging in this sense, I have to manually find the line of code or reinstall Windows to make sure there are no spaces in my linked network and local paths. Please fix. |
Same here, waiting for a fix :( |
Any update on this? |
For real, you'd think more people would complain since Windows' default account style has a space in the name... any of my documents have a space in the full path. |
Same issue with paths in VSC's integrated terminal not being linked/clickable if there is a space in the path (in the file name in my case to be more specific). Would be very handy if it worked to directly jump to compilation errors. Is there any update on this issue? |
@bromelio no updates other than what is posted. A workaround is to select the link (double click + drag makes this easy), copy, then ctrl+p and paste |
@Tyriar Thanks for the workaround, very attentive of you! I was hoping for something like replace space with \x20 in your upstream powershell code and it'll work, though 😉. But I guess that's simply not possible then? 😞 Anyway, please have this fixed. It's an annoying bug and I think you personally already found a solution (regex)? If your colleagues don't like regex barring any better idea then please simply tell them that users like bugs even less and push it through regardless. Less important things are constantly being implemented while we've already been patient for over two years here. Maybe we have to get a little more cheeky to be heard, too? |
Hi everyone, Same here when developing add-on for blender in VScode. Print something like this on error:
I always want to click on that path +1 for clickable path with space. For now @Tyriar's workaround save the day (+ we can quickly add line number after path with Happy coding all |
I put this together in #169786, here are the detected formats when it gets merged:
I think that should cover the main cases called out in the issue, let me know if your case isn't covered by this. |
Steps to Reproduce:
I have created a tiny repo that reproduces the bug: https://github.com/nielsvaneck/vscode_space_path_bug
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: