Hi, I logged a bug ages ago about this and although it appears to have been fixed for one or two templates, it hasn't been fixed for all of them, and its really annoying!
http://www.devexpress.com/Support/Center/p/B19472.aspx <-- Original Ticket
Some of the problems still active,
and -> &&
or -> ||
if -> if()
to -> typeof()
while -> while() { }
There are many more.
Steps to Reproduce:
- open a C# file
- enter a compiler directive like #warning
- on the same line, type any of the words above and the template will expand
This is not an exhaustive list of problem templates, there are loads more, and although I've been able to disable one or two of the more annoying ones by editing my settings, this should be this way out of the box and not need tweaking.
Actual Results:
#warning && || if () typeof() while (Expression)
{
}
Expected Results:
#warning and or if to while