Make file paths with spaces in the console work as clickable links
See original GitHub issueSystem Details
System Details Output
### VSCode version: 1.34.0 a622c65b2c713c890fcf4fbf07cf34049d5fe758 x64
### VSCode extensions:
alefragnani.project-manager@10.5.2
CoenraadS.bracket-pair-colorizer-2@0.0.28
donjayamanne.githistory@0.4.6
DotJoshJohnson.xml@2.4.0
eamodio.gitlens@9.8.1
GitHub.vscode-pull-request-github@0.7.0
HookyQR.beautify@1.5.0
mechatroner.rainbow-csv@1.1.1
monokai.theme-monokai-pro-vscode@1.1.13
ms-vscode.powershell@2019.5.0
PKief.material-icon-theme@3.8.0
pnp.polacode@0.3.2
Shan.code-settings-sync@3.2.9
shd101wyy.markdown-preview-enhanced@0.4.0
WakaTime.vscode-wakatime@2.1.2
yzhang.markdown-all-in-one@2.3.1
Zignd.html-css-class-completion@1.19.0
### PSES version: 1.12.1.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.18362.113
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.18362.113
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
When something is broken, and an error is thrown VSCode allows you to ctrl+click link to link to file. This is great, but it doesn’t work with the path that has spaces in them.
Expected Behaviour
Should work with paths with spaces.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Clickable link to file with spaces in PyCharm console - YouTrack
I'm trying to have my code output clickable filepaths to the PyCharm console ... find a way that works for all filenames, even...
Read more >Link to file path with space in Richtextbox - Stack Overflow
I've found this link http://www.codeproject.com/cs/miscctrl/RichTextBoxLinks.asp which can help you insert a link of any text into a ...
Read more >Add links containing spaces to an e-mail message
Note: If you insert the link by using the Hyperlink command, then no truncation occurs. In a new message, on the Insert tab,...
Read more >How to call a program that contains space in filename?
All filenames and paths which contain spaces must be quoted. Next, regarding your question, how about stating the path like:
Read more >Help with generating clickable links or something of that sort
I copied a line from here to make a clickable link but it shows ... The P.S. console window even nicely handles filepaths...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We should investigate how VSCode does this first – it may be that quoting won’t help
I was going to suggest maybe trying 8.3 naming convention… But… WindowsPowerShell is one of two directories in
C:\Program Files
that doesn’t have 8.3 naming (the other beingModifiableWindowsApps
) (also noteWindows.old
appears to be another one with no 8.3…)