| Summary: | [quick assist] 'Put expression in parentheses' is offered unnecessarily | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Deepak Azad <deepakazad> | ||||
| Component: | UI | Assignee: | Deepak Azad <deepakazad> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | markus.kell.r | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.7 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 192917 [details]
fix+tests
Fixed in HEAD. |
-------------------------------------------------- public static void main(String[] args) { int[] a = new int[10]; for (int i = 0; i < 10; i++) { a[i] = i; } } -------------------------------------------------- - Select "i" or "i <" in the for loop condition - Ctrl+1 => 'Put '<' expression in parentheses' quick assist is offered, this is incorrect as the quick assist does not work on the selection.