This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I saw that Static Code analysis got added to 7.4 nightlies recently which I think is awesome. I have been using http://sourceforge.net/projects/phpmdnb/ Netbeans plugin and I love how it integrates into the "Action Items". I usually have it set to show only the currently open file. This allows me to switch between open file tabs and see what sort of stuff I need to fix to make sure i am following the coding standard (PSR2). Current Netbeans 7.4 Inspect implementation seems to be a bit clunky. It makes things really hard to keep "Inspecting" things especially if I am interested in seeing only issues for the file(s) I am currently working on. Refresh only refreshes the existing view for the whatever settings were selected when I selected Inspect. When i change between open files and click refresh it keeps checking the originally selected open file when I selected Inspect option.
Reassigning to the proper component, not PHP specific. Please evaluate, thanks.
In my opinion "Refresh" does exactly what is supposed to do. Imagine situation that you do inspect on some file, than select some file in project explorer and click refresh. It would be confusing if it would run "refreshed" inspect on selected node instead of opened file. You can set keyboard shortcut for Inspect (ALT+I for example) in options. That would help to achieve you desired functionality.
As described above, mentioned behavior of "Refresh" is desired and intentional. When you run Inspect again from Source menu (or keyboard shortcut), all options will remain from previous inspection, but scope will be updated. I'm closing this as wontfix for now. Thanks for understanding!
From my perspective I still need a clean way to switch between opened PHP Files and see the static code analysis for the file I have open/selected. Ideally without having to go through Inspect (Alt+I shortcut) every time i switch between files.