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

Option to scan/update as you type? #45

Open nogaff opened 9 years ago

nogaff commented 9 years ago

I was just wondering if there was any possibility of adding an option to enable scanning/updating of the current file as you type, so that you don't have to keep saving your file to find out whether your latest lines of code are standards compliant.

This functionality exists in the relevant PHP_CodeSniffer plugins for PhpStorm and Sublime Text but I prefer certain features of NetBeans so it would be nice if this plugin could match them in this respect.

If this feature was going to be added, I suppose there would need to be some kind of delay before scans were triggered so that you weren't rescanning after every single keypress but only after a slight pause in typing.

vralfy commented 9 years ago

I fear a slow performance, i'll keep that in mind for later (when I have enough time to continue developing this plugin)