netbeans-php-enhancements icon indicating copy to clipboard operation
netbeans-php-enhancements copied to clipboard

Make selecting custom coding standard possible

Open fqqdk opened this issue 15 years ago • 7 comments
trafficstars

Currently the standards bundled with phpcs seem to be hardcoded into the plugin's code. We use our custom coding standard where I work, and we would benefit greatly from more flexible configuration options regarding what coding standard to use.

Phpcs can be configured to run a custom standard with the --standard= option, and beside the names installed in the Standards directory of phpcs, it also accepts a path prefixes, like 'path/to/my/Standard', where 'path/to/my/Standard.php' is expected to hold a subclass of the PHP_CodeSniffer_Standard class.

  • a text field should be displayed which could be used to enter a path-prefixed name to provide more flexibility
  • additionally, if the plugin could scan phpcs's Standards directory for the standard names to display in the combo box, that would also be great

Also, thanks for your work, it is a very nice plugin :)

fqqdk avatar Mar 11 '10 12:03 fqqdk

I'd like that too!

meza avatar Mar 11 '10 12:03 meza

It would be a very useful feature. The standards in the combo box could be parsed from the outpuf of "phpcs -i".

szaboferee avatar Mar 11 '10 12:03 szaboferee

I think it will be very useful feature

Verber avatar Apr 10 '10 22:04 Verber

I also agree that this would be useful ! ! ! I can't change standard to my needs :(

confiq avatar Nov 15 '10 09:11 confiq

Yup, that would be nice !

FMaz008 avatar Mar 16 '11 13:03 FMaz008

Yes, I also agree, it would be a nice feature.

simonseyer avatar Jan 26 '12 17:01 simonseyer

Will you please tell me that how to do this thing in net beans 8.1 because that same thing has been done in terminal but not in net beans

HemaliSavaliya avatar Sep 24 '18 07:09 HemaliSavaliya