When using the inspect and transform refactoring, you may get a list of errors.
In my case "Access of Private Field of Another Object at ..."
The problem is that the list is not linked to the corresponding source files+lines, which would make it much easier to fix the defect that prevents the inspect and transform refactoring to work...
It it possible to add some kind of jump to file context menu or simply a link on the item or file name?
Actually I tried Inspect and Transform and in was possible to jump to the source line by double-clicking the hint. Jan, would you please confirm that this functionality is already implemented in full ?
I just rechecked and double clicked on the icon, the line and in free space of the lines. Nothing had an effect. It's just a text line. By clicking the text or parts of it are selected. Looks more like a Multiline text view with alternating row colors than a listview ;-)
I'm using the 7.2 Beta build from the website, that I downloaded yesterday.
Product Version: NetBeans IDE 7.2 Beta (Build 201205031832)
Java: 1.7.0_03; OpenJDK 64-Bit Server VM 22.0-b10
System: Linux version 3.2.0-2-amd64 running on amd64; UTF-8; de_DE (nb)
Petr, I believe that the reporter meant the problems listed in the refactoring dialog, not the result window.
In most cases, it was a bug to show these as the problems instead of showing them in the results window (because these are not real problems with processing, but rather incorrectly shown processing results). That has been fixed recently (post 7.2 beta), as part of:
There are a few places were actual problems are reported through the same interface, and I agree it might be useful to allow the user browse through them in a more convenient way. Not strictly related to I&T, as other refactorings use the same channels to show processing problems. As such, some support in the refactoring APIs is needed.
For the record, it is not certain if these "query-only" hints will be available in I&T in the future - the Source/Inspect... should provide a better UI to handle them.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.
Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss