-
Notifications
You must be signed in to change notification settings - Fork 3
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
Run Configuration - Macro Variable not working #9
Comments
I've never used macros in Run Configurations. Can you please explain in more details,what configuration you have,what do you want to achieve, and what IntelliJ do if you run it directly? |
I am using PHPStorm not IntelliJ. I want to have a keyboard shortcut for phpcbf (PHP Code Beautifier Fixer). The only other way I found is through External Tools. But External Tools are global and I have different configurations for different projects. So the command is "vendor/bin/phpcbf --standard=PSR12 Steps to reproduce:
|
I am currently affected by the same problem. The use case for me is to run a project-specific linter on the current file, which works as a run configuration, but does not work when run via this plugin. Basically, it is running a python script with arguments |
I think it is easy to fix by adding the
My guess for how this would look is: ExecutionUtil.doRunConfiguration(runConfig, executor, target, null, e.getDataContext()); |
Hey,
really nice plugin!
But one litte thing. I've created a run configration with the following argument:$FilePathRelativeToProjectRoot$
--standard=PSR12
The keyboard shortcut works but then the macro/variable has always the value from the last run triggered outside your plugin.
Would be nice if you can fix this.
Regards
Marcus
The text was updated successfully, but these errors were encountered: