Bug Report B134374
Visible to All Users

Templates are available when the caret is on compiler directives

created 16 years ago

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:

  1. open a C# file
  2. enter a compiler directive like #warning
  3. 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

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.