[quote=“dlprice”]Very odd. I put:
"sublimelinter_executable_map":
{
"php": "C:/xampp/php/php"
}
into every occurrence of Base File.sublime-settings I could find (default, user, and the one in sublimelinter). Figured this would help me determine which Base File it was expecting to find it in. I put a “print map” statement in the module_utils.py to see what was happening and to make sure it wasn’t just me putting in an invalid path, and, unfortunately, it consistently shows “None”.
My original thought was it was something screwy about using “Base File” in the sublimelinter folder, since changing the name of the file from “Base File.sublime-settings” to “SublimeLinter.sublime-settings”, and then adjusting the module_utils.py file to reflect the same resolved the issue. But with you being able to get work makes things just that much more confusing. Thanks for checking.[/quote]
I’ve tested this on windows and it does require some workaround. I finally got it working by editing both “Packages\SublimeLinter\Base File.sublime-settings” and “Packages\User\Base File.sublime-settings”…
With Packages\SublimeLinter\Base File.sublime-settings you must edit the portion where it says “sublimelinter_executable_map” by adding the necessary path. In my case where I have my php executable using XAMPP installation on D:/DEVIGN/xampp/php/php.exe I used:
"sublimelinter_executable_map":
{
"php": "d:/devign/xampp/php/php"
},
With Packages\User\Base File.sublime-settings you must insert the whole script (as seen above). On my case where I inserted it after my colors scheme setting it looks like this:
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"sublimelinter_executable_map":
{
"php": "d:/devign/xampp/php/php"
}
}
note: to avoid errors add a comma after the previous setting line before adding the script, and then make sure there is no comma between the last inserted setting script and the closing curly brace.