beberlei/netbeans-php-enhancements — pull request #19 by willybarro (2011-10-21 02:24:04+00:00)
Title: Bugfixes and additions :)

Hey guys, I tried to pull request like a month ago but, there were an error on Windows support and I preferred not to proceed with the commit.

But, before that, I've had some problems with your plugin (with it not telling why my PHPCS stopped working and so on) and decided to fix it myself and in the middle of hacking I added some stuff that I thought were necessary.

Well, I hope you enjoy those fixes/changes (changelog below), and I'll be glad to help you with anything necessary.

Those changes were tested on NB 7.0+, Ubuntu and Windows.

Best Regards,
Willy.

---
Changelog:

- Added: Shortcut, press Shift+F12 to analyse current file.
- Added: Validation to the form/panel. Validates if PHPCS is working and if there are any valid Code Standards.
- Added: Validation on preferences storage, avoids invalid settings to be saved.
- Added: Refresh button on configuration panel. This button revalidates PHPCS binary and refresh code standards list at user will.
- Added: Warnings/Errors are also added to the error stripe (column right to the editor scrollbar). Now, one won't need to scroll all the file to find CS warnings/errors.
- Added: Context menu for JS and CSS files (both also supported by PHPCS tokenizer).
- Added: Show information dialog if no error/warnings were found.
- Added: If PHPCS fails with a fatal/parse error, show an information dialog.
- Fixed: Exception handling if no CodeStandard is selected (NullPointerException).