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.
Summary: | Better preview for Inspect&Transform | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Jiri Prox
2012-05-14 14:20:25 UTC
Sorry I can't imagine what you've meant. Could you describe the envisioned improvement a little more ? Thanks. 1) Have a code: public static void main(int x) { x = x + 1; x = x + 2; System.out.println(x); } 2) Run single Inspect&Transform rule on it: Assignment replaceable with operator-assignment -> two transformations are found 3) In the refactoring preview select first of them (only by moving caret to appropriate line in tree, not manipulate with check boxes) -> the file in right part of windows is looks like the only selected transformation was applied, the second line is not modified. (although both check boxes are checked) The other refactoring (e.g. Rename) show the preview as all transformation was applied. |