Page 1 of 1
How to use external tool on current opened file
Posted: Mon Jun 08, 2015 8:46 am
by idwaker
I want to run php-cs-fix (
https://github.com/FriendsOfPHP/PHP-CS-Fixer) on currently opened buffer, like create a shortcut associated with php-cs-fix command so that it would change current opened buffer.
I try to use External Tools plugin but couldn't understand how to configure.
Re: How to use external tool on current opened file
Posted: Mon Jun 08, 2015 10:45 am
by eranif
Hi,
I saw your post on GitHub and first of all thanks for providing the info about this tool (I was not aware that it exists...)
It seems that that the external tools plugin is "bound" to the C++ workspace (i.e. it requires a C++ workspace to be opened in order to expand macros such as "$(CurrentFileName)" to their actual value...)
Obviously this is a bug and it will be fixed.
Can you specify which OS are you using and CodeLite version?
Thanks,
Eran