| Summary: | No content assist possible in single quotes string | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Jacek Pospychala <jacek.pospychala> | ||||
| Component: | General | Assignee: | Jacek Pospychala <jacek.pospychala> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cmjaun | ||||
| Version: | 3.2 | Flags: | cmjaun:
review+
thatnitind: review+ |
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 178382 [details]
patch
Solution that works for me is to use the same ContentAssistProcessor for both __java_character and __java_string partitions.
Previously, no processor was configured for __java_character partition.
Patch looks fine to me. Marked for Nitin's review. 3.2.3 will open up for fixes in a couple weeks. Applied to HEAD and maintenance. |
I'm using org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer extension point to add some cool completion proposals in javascript strings: <javaCompletionProposalComputer activate="true" class="jaceks.CoolJCPComputer"> <partition type="__java_string"> </partition> <partition type="__java_character"> </partition> </javaCompletionProposalComputer> This enables content assist in JS files in double-quoted strings ("__java_string"), but unfortunately not in single-quoted strings ("__java_character").