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: Support linking local file paths containing '+' #105108

Merged
merged 2 commits into from Sep 9, 2020

Conversation

DavidGoldman
Copy link
Contributor

@DavidGoldman DavidGoldman commented Aug 20, 2020

Previously the + character was excluded so file paths like:

some/folder/Foo+Extension.swift and some/folder/Object+Category.m

would not link properly in the terminal

This PR fixes #92386

Test:

  1. Open new VSCode window
  2. Open new Terminal
  3. In terminal: cd /tmp && touch Foo.h && touch Foo+Bar.h
  4. In terminal: echo /tmp/Foo.h /tmp/Foo+Bar.h
  5. Hold Cmd (on macOS) and mouse over the two listing name, now both will be clickable.

Previously the + character was excluded so file paths like:

`some/folder/Foo+Extension.swift` and `some/folder/Object+Category.m`

would not link properly in the terminal
@ghost
Copy link

ghost commented Aug 20, 2020

CLA assistant check
All CLA requirements met.

@DavidGoldman
Copy link
Contributor Author

Friendly ping

@Tyriar Tyriar added this to the September 2020 milestone Sep 3, 2020
@Tyriar
Copy link
Member

Tyriar commented Sep 3, 2020

Sorry about the delay, I'm trying to catch up on my PRs next week.

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Tyriar Tyriar merged commit 41586fc into microsoft:master Sep 9, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto linking in terminals doesn't handle + in file paths.
2 participants