Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368095

Summary: [code templates] insert template name when pressing ctrl + space to insert template
Product: [Tools] CDT Reporter: Simon Ducharme Boutin <sducharme>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: RESOLVED WORKSFORME QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug, malaperle, sducharme, yevshif, zeratul976
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Ducharme Boutin CLA 2012-01-08 02:06:27 EST
Build Identifier: 20110916-0149

When there's more then one ${word_selection} template starting with the exact same name (And those are the only ${word_selection} template I have) and I select the third word of the line and then I press ctrl + space to insert the template, it adds the template name in front of the template result.

Reproducible: Always

Steps to Reproduce:
1. Be sure to have no ${word_selection} template
2. Create a ${word_selection} template named "Test"
3. Create another ${word_selection} template named "Test_2"
4. Type some words on a line
5. Select a word except the first of the line
6. Press ctrl + space
7. You should see "Test + template result"
Comment 1 Nathan Ridge CLA 2015-07-23 20:33:42 EDT
Do you still see this problem? I can't reproduce it.
Comment 2 Nathan Ridge CLA 2017-01-10 20:25:07 EST
Closing per comment 1. Please feel free to reopen if you're still seeing this.