| Summary: | [typing] Automatically add variable declaration | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Nathan Reynolds <numeralnathan> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, deepakazad |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Nathan Reynolds
> j = i; You can use one of the quick fixes offered for the error on 'j' - 'Create local variable', 'Create Field' or 'Create parameter'. Is using a quick fix too hard ? > So, the editor should > automatically add the type in front of j or add the declaration at the top of > the method. It is not clear about what the developer wants to do in each and every situation, hence I would not start creating declarations automatically. At best we may possibly show the quick fix popup automatically, but even this is stretching things a bit. I guess the current solution is good enough. |