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: | Java code template can not be used within "string literal" | ||
---|---|---|---|
Product: | editor | Reporter: | mg11 <mg11> |
Component: | Completion & Templates | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mg11
2008-05-21 07:32:37 UTC
How does you response is going to look? How much time does it normally take until you get a feedback on a issue? Thank you. The problem is that string literals has different mime-type than the rest of java file and the code template are mime-type specific, unfortunately the string mime type is not listed by default. See issue 128019 The same story as in issue #134205. Integrated into 'main-golden', available in NB_Trunk_Production #243 build Changeset: http://hg.netbeans.org/main/rev/cbe2e7bfb41a User: Vita Stejskal <vstejskal@netbeans.org> Log: #135468 (fixed): enabling java code templates in java string literals Thank you for fixing the issue. How to i update the current NB 6.1 installation? verified, this is good candidate for patch3 mg11: the easies will be to wait, I've nominated this fix to be included in patch3. The other possibilities are - use dev builds - get sources for 6.1 and apply the fix manually (it's quite simple fix) a compile. I've transplanted the changeset http://hg.netbeans.org/main/rev/cbe2e7bfb41a into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/da634a2646ee verified in patch |