vralfy / phpcsmd

Netbeans plugin to report code measurements generated by phpcs, phpmd, phpcpd and pdepend as Tasks and Annotations
27 stars 6 forks source link

Netbeans 11.3 #49

Closed RolandSM closed 3 years ago

RolandSM commented 4 years ago

Hello,

I used since years this great extension to see all action items when a file was loaded / saved.

But in currently 11.3 it stops working?

Really or do I have configuration errors?

ccerrillo commented 4 years ago

@RolandSM did you managed it?

RolandSM commented 4 years ago

Yes. It was a failure of my local installed Codesniffer. The Plugin works...

RolandSM commented 3 years ago

Have to open it again, try to get it with Netbeans 12.1 to work but no action items with working code sniffer???

RolandSM commented 3 years ago

Hello,

I have tried more things why this is not working. I updated the phpcs to latest 3.5.8, same error. I activated the debug log, set to info and show.

The command is: (example) /usr/bin/phpcs --standard=MYSTANDARD -w --report=xml /home/MYUSER/GIT\ Development/MYPROJECT/sub/folder/myfile.php

The log shows also an error but I think the real error is another: ERROR: The file "/home/MYUSER/GIT\" does not exist. Seems the space is a trouble?

But I have taken the command and put it into the Ubuntu console and there also the file is not available...

I wrote sign by sign the line again in command line and then it worked?

Very confused...

Then I put both into an text editor and saw, that the command from phpcsmd debug log have no spaces but other signs???

See in image netbeans

RolandSM commented 3 years ago

I am using Netbeans 12.1 with phpcsmd 0.6.1.4, Codesniffer 3.5.8 on a Kubuntu 20.04.1 LTS

RolandSM commented 3 years ago

My error was really only the empty space. Without empty space in Path the Plugin works...