Reporter | Alex Berezoutsky (fergard) |
---|---|
Created | Jul 12, 2011 6:57:27 PM |
Updated | Feb 17, 2012 4:21:18 AM |
Priority | Critical |
Type | Bug |
Fix versions | 6.1 |
State | Open |
Assignee | Slava Tutushkin (slava.tutushkin) |
Subsystem | Live templates |
Affected versions | 6.0 |
Fixed in build | No Fixed in build |
I have included an example (pretty empty) solution, and also an export of my live template that exhibits the problem. I've also included a screen cast of the issue that I am seeing.
If you import the 'tin.xml' file that is an example of my live template.
Then open program.cs, put the cursor into the main method and type 'tin'
and press enter to select the live template.
Then when the basic completion appears, it automatically selects args, so just press enter. It then changes the first hotspot to args, but leaves the other 3 hotspots as ARGUMENTNAME.
If, however, you type 'tin' then press enter, then actually type 'args' it works as expected and changes all the hotspots to the typed text.
If you import the 'tin.xml' file that is an example of my live template.
Then open program.cs, put the cursor into the main method and type 'tin'
and press enter to select the live template.
Then when the basic completion appears, it automatically selects args, so just press enter. It then changes the first hotspot to args, but leaves the other 3 hotspots as ARGUMENTNAME.
If, however, you type 'tin' then press enter, then actually type 'args' it works as expected and changes all the hotspots to the typed text.