| Summary: | [content assist] ',' does not jump to the next argument if linked position has no proposal | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | Text | Assignee: | Markus Keller <markus.kell.r> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | daniel_megert, deepakazad | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.8 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
Markus, this needs to be fixed for M6 or deferred to the next release. Bug 339221 comment 2 shows that a static set of trigger characters is not enough, so there cannot be a generic solution with a "char[] fTriggerChars". A way to fix this bug could be a new IExitPolicy result that would trigger a call to LinkedModeUI#next(). But there's an easier way without new API: ParameterGuessingProposal's ExitPolicy can just transform the ',' into a '\t' when we want the special behavior. Created attachment 212603 [details]
fix
(In reply to comment #2) > Bug 339221 comment 2 shows that a static set of trigger characters is not > enough, so there cannot be a generic solution with a "char[] fTriggerChars". > > A way to fix this bug could be a new IExitPolicy result that would trigger a > call to LinkedModeUI#next(). But there's an easier way without new API: > ParameterGuessingProposal's ExitPolicy can just transform the ',' into a '\t' > when we want the special behavior. Looks good to me. |