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

support links that begin with a root folder #125615

Merged
merged 2 commits into from Jun 7, 2021

Conversation

mghalayini
Copy link
Contributor

This PR fixes #125260. I have assumed that the user is working in a multi-root workspace for generality. If any of the names of the root folders in the workspace matches a prefix of the link activated in the integrated terminal, we erase that prefix and proceed with the search. This was an issue before, since links only work relative to the root folder, which means that links that begin with the root folder do not actually work.

Before:
b4

After:
after

@Tyriar Tyriar added this to the May 2021 milestone Jun 7, 2021
@meganrogge meganrogge modified the milestones: May 2021, June 2021 Jun 7, 2021
@meganrogge
Copy link
Contributor

Works well. Thanks for the gifs and the time you invested 👍🏼

@meganrogge meganrogge enabled auto-merge (squash) June 7, 2021 21:43
@meganrogge meganrogge merged commit 1d04a82 into microsoft:main Jun 7, 2021
@mghalayini mghalayini deleted the fix-125260 branch June 8, 2021 06:28
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2021
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.

locate file:$line:$col in IntegratedTerminal
3 participants