Skip to content

PHP CS Fixer contextual menu does not appear #20

Closed
@fanphp

Description

@fanphp

Hi,
I'm using NB 8.1, I have problem with this plugin:

Usage

  1. Right-click
    Project
    Directory
    File
    Editor
  2. 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!

Activity

junichi11

junichi11 commented on Jan 21, 2016

@junichi11
Owner

There is no action in the project context menu is a bug. But other than that are not one.

nb-phpcsfixer-issue20

Did you set a php-cs-fixer path in the Tools > Options > PHP > Frameworks & Tools > PHP CS FIXER ?

Thanks.

added this to the 0.5.2 milestone on Jan 21, 2016
self-assigned this
on Jan 21, 2016
junichi11

junichi11 commented on Jan 22, 2016

@junichi11
Owner

Fixed the project context menu problem.

fanphp

fanphp commented on Jan 22, 2016

@fanphp
Author

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

junichi11 commented on Jan 22, 2016

@junichi11
Owner

are you going to update the plugin from Plugin Portal?

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

I don't see context menu neither on directory,nor files or editor

As I wrote the above, did you set it in the Options?
Can you provide screenshots ?

fanphp

fanphp commented on Jan 22, 2016

@fanphp
Author

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

dialog_1
dialog_2

junichi11

junichi11 commented on Jan 22, 2016

@junichi11
Owner

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.
nb-phpcsfixer-issue20-2

fanphp

fanphp commented on Jan 23, 2016

@fanphp
Author

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 )

php_code_analisys

In my "Frameworks & Tools" tab, I don't see "PHP CS Fixer" item!

junichi11

junichi11 commented on Jan 23, 2016

@junichi11
Owner

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 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).

Did you check this? I'm not sure how do you install it. Can you write your exact steps?

which kind of Netbeans version are you working with?

NB81

my PHP CS Fixer configuration is on a different tab called "Code Analisys"

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

junichi11 commented on Jan 23, 2016

@junichi11
Owner

NOTE: Standard distribution support doesn't have context menu actions. Then, it cannot run the fix command.
Thanks.

fanphp

fanphp commented on Jan 24, 2016

@fanphp
Author

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

junichi11 commented on Jan 24, 2016

@junichi11
Owner

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

??? not?

4 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @junichi11@fanphp

      Issue actions

        PHP CS Fixer contextual menu does not appear · Issue #20 · junichi11/netbeans-php-cs-fixer-plugin