Closed
Description
Hi,
I'm using NB 8.1, I have problem with this plugin:
Usage
- Right-click
Project
Directory
File
Editor - PHP CS Fixer
fix
fix --dry-run
self-update
the contextual menu does not have the "PHP CS Fixer" option; I see project configuration, but if I right click on project, or directory, or file or in the editor, I don't find the menu item; finally, I don't know how to run it.
Do you know about other plugin conflict?
Thanks in advance!
Metadata
Metadata
Assignees
Projects
Relationships
Development
No branches or pull requests
Activity
junichi11 commentedon Jan 21, 2016
There is no action in the project context menu is a bug. But other than that are not one.
Did you set a
php-cs-fixer
path in the Tools > Options > PHP > Frameworks & Tools > PHP CS FIXER ?Thanks.
Fix the path for php project action #20
junichi11 commentedon Jan 22, 2016
Fixed the project context menu problem.
fanphp commentedon Jan 22, 2016
are you going to update the plugin from Plugin Portal?
PS: I don't see context menu neither on directory,nor files or editor :(
junichi11 commentedon Jan 22, 2016
Yes, later. It would be good if you can test it before that.
https://github.com/junichi11/netbeans-php-cs-fixer-plugin/releases/tag/v0.5.2
As I wrote the above, did you set it in the Options?
Can you provide screenshots ?
fanphp commentedon Jan 22, 2016
I'd try but when I select the downloaded plugin, it does not appear in the download window! I cannot install it ( see screenshot )
thanks
junichi11 commentedon Jan 22, 2016
Did you select it, then click the OK button? If the same version is already installed, it is not shown in the list. (Please check whether it is installed in the installed tab).
My question(Did you set a php-cs-fixer path in the Tools > Options > PHP > Frameworks & Tools > PHP CS FIXER ?) is not that.

fanphp commentedon Jan 23, 2016
mmmmm,
which kind of Netbeans version are you working with? Mine is 8.1 and there are differences from your screenshot; for example, my PHP CS Fixer configuration is on a different tab called "Code Analisys"
( see screenshot )
In my "Frameworks & Tools" tab, I don't see "PHP CS Fixer" item!
junichi11 commentedon Jan 23, 2016
It's not an answer to my questions...
Is there PHP CS Fixer in the "Frameworks & Tools"? If not, you have not installed this plugin yet.
Did you check this? I'm not sure how do you install it. Can you write your exact steps?
NB81
It's a standard distribution support. i.e. it's not options for this plugin. Coding Standard Fixer is official support. PHP CS Fixer is community support.
junichi11 commentedon Jan 23, 2016
NOTE: Standard distribution support doesn't have context menu actions. Then, it cannot run the
fix
command.Thanks.
fanphp commentedon Jan 24, 2016
Hi,
I have reinstalled the plugin from Plugin Manager directly, and now it works fine! I can see PHP CS Fixer in in Frameworks & Tools, and not it works well. The version I'm using now is 0.5.1
Thanks!
junichi11 commentedon Jan 24, 2016
👍
??? not?
4 remaining items