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

Add Ability To Specify Ordered Path Mappings In Project Config #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrphang
Copy link

@mrphang mrphang commented Aug 5, 2015

The path mappings loaded from the project are loaded in a way that they are checked for a match in an unordered way. This allows you to specify paths to be checked in a way so more specific paths can match over less specific paths.

...
"ordered_path_mappings": [
["/path/that/is/specific", "/specific/local/path"],
["/path", "/general/local/path"]
]
...

a file '/path/that/is/specific/a.php' will map to '/specific/local/path/a.php'
a file '/path/whatever.php' will map to '/general/local/path/whatever.php'

@mrphang mrphang changed the title Add Ability To Specify Ordered Path Mappings Add Ability To Specify Ordered Path Mappings In Project Config Aug 5, 2015
@ryanpcmcquen
Copy link

I've merged your fixes into my fork:
https://github.com/ryanpcmcquen/SublimeTextXdebugPlus

Which I am attempting to get into Package Control:
wbond/package_control_channel#7658

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.

2 participants