support multiple path of executablePath in config#110
Open
bluedasher13 wants to merge 1 commit intojunstyle:masterfrom
Open
support multiple path of executablePath in config#110bluedasher13 wants to merge 1 commit intojunstyle:masterfrom
bluedasher13 wants to merge 1 commit intojunstyle:masterfrom
Conversation
Owner
|
if settings like this, (most of people, me too) |
Contributor
Author
|
Okay, I've find the way to solve this problem and add some new features. I'll push it and create a pull request soon. |
Contributor
Author
That's so sad, a part of new source code for new features was lost due to the auto-update of VS Code extension. (not all, lost about 25%) Because I modify the files in So I need to rewrite that again (If I still remember it). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a feature:
php-cs-fixer.executablePathin the config could be a path list string with separator;, just likephp-cs-fixer.config.For example, if
php-cs-fixer.executablePathorphp-cs-fixer.executablePathWindowsis set to"${workspaceRoot}\\vendor\\bin\\php-cs-fixer.bat;D:\\.global\\vendor\\bin\\php-cs-fixer.bat;${extensionPath}\\php-cs-fixer.phar", then...${workspaceRoot}\\vendor\\bin\\php-cs-fixer.batexists, and use it if it exists.D:\\.global\\vendor\\bin\\php-cs-fixer.batexists, and use it if it exists.${extensionPath}\\php-cs-fixer.phar, and use it if it exists.I think this could be useful, because some project has OWN
php-cs-fixer(such as v2.16.0 package + v2.16.0 .php_cs) under its folder, but some project may not, then it could do a fallback, use a GLOBALphp-cs-fixer(such as v3.0.x-dev package + v3.0.x-dev .php_cs).