How to use external tool on current opened file

General questions regarding the usage of CodeLite
idwaker
CodeLite Curious
Posts: 1
Joined: Mon Jun 08, 2015 8:38 am
Genuine User: Yes
IDE Question: C++
Contact:

How to use external tool on current opened file

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to use external tool on current opened file

Post 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
Make sure you have read the HOW TO POST thread
Post Reply