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

Renames $$virtual to __virtual__ #2595

Merged
merged 6 commits into from
Mar 11, 2021
Merged

Renames $$virtual to __virtual__ #2595

merged 6 commits into from
Mar 11, 2021

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Mar 11, 2021

What's the problem this PR addresses?

The $$virtual string causes problems when used in a regex, in a regex replacement, or when pattern-matched by common terminal path parsers.

Fixes #2378

How did you fix it?

Virtual paths will now be __virtual__ instead of $$virtual. Old-style are still understood (mostly for the purpose of the VSCode extension), but all new paths will use the new name.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

arcanis and others added 2 commits March 11, 2021 10:49
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
arcanis and others added 3 commits March 11, 2021 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid using RegExp special symbols in virtual paths, e.g. $$virtual -> __virtual
3 participants