NetBeans "Find Usages" Tool Integrates JSF Expression Language
- by Geertjan
I saw this by Adam on Twitter today:
Interesting. Let's try it. Here's my method "getCustomerId". I select it, right-click, and choose "Find Usages" (or press Alt-F7):
A nice dialog appears:
Then click "Find" and, guess what, this is what I see (click to enlarge it):
Clearly, as you can see, I'm not only finding the Java controller class where the getter is used, but also the Facelets files, and, within those, the exact lines where the JSF expression language makes use of the getter.
This is not a new feature, tried it and got the same result in 7.1.1, but it's really cool to know about nonetheless.