Skip to content

Renames $$virtual to __virtual__#2595

Merged
arcanis merged 6 commits intomasterfrom
mael/__virtual__
Mar 11, 2021
Merged

Renames $$virtual to __virtual__#2595
arcanis merged 6 commits intomasterfrom
mael/__virtual__

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