SublimeTextXdebug icon indicating copy to clipboard operation
SublimeTextXdebug copied to clipboard

Add Ability To Specify Ordered Path Mappings In Project Config

Open mrphang opened this issue 10 years ago • 1 comments

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 avatar Aug 05 '15 14:08 mrphang

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

Which I am attempting to get into Package Control: https://github.com/wbond/package_control_channel/pull/7658

ryanpcmcquen avatar Aug 14 '19 23:08 ryanpcmcquen