| Summary: | [Code templates] Pop up error when using code formatter option and ${line_selection} | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc-André Laperle <malaperle> |
| Component: | cdt-editor | Assignee: | Anton Leherbauer <aleherb+eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 7.0 | ||
| Target Milestone: | 7.0.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Interesting. I have not debugged it yet, but it is reproducible with 7.0. Fixed in HEAD and 7.0.1. *** cdt cvs genie on behalf of aleherbau *** Bug 323206 - [Code templates] Pop up error when using code formatter option and [*] ExclusivePositionUpdater.java 1.1.18.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/ExclusivePositionUpdater.java?root=Tools_Project&r1=1.1&r2=1.1.18.1 [*] ExclusivePositionUpdater.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/ExclusivePositionUpdater.java?root=Tools_Project&r1=1.1&r2=1.2 |
I am using HEAD but I'm pretty sure it's in 7.0 also. Steps to reproduce: 1. Create a code template, make sure you have the option "Use code formatter" checked. For example: std::cout << ${line_selection}; 2. Highlight foo; in the following code and use the code template using content assist. void bar() { foo }