Template Expansion in Comments

2 posts, 0 answers
  1. Mike
    Mike avatar
    31 posts
    Member since:
    Sep 2008

    Posted 12 Feb 2012 Link to this post

    Hi

    I added an XML comment to a Method and started to type

    Returns a ....

    I get

    Returns public V1 V2 {get; set;}

    as the Template expands for a <space> , ie Auto Property
    Is there any way to prevent this , a<space> is probably quite common in comments !!

    Mike

  2. Siyka Marinova
    Admin
    Siyka Marinova avatar
    11 posts

    Posted 21 Feb 2012 Link to this post

    Hi,

    Thank you for your feedback and sorry for the inconvenience.
    We will fix this issue as soon as possible. I created a PITS item for it so you can follow its progress.
    As a temporary workaround you can change the Expand Template keyboard shortcut to 'Shift + Space' or 'Tab'.
    You can do that from JustCode > Options > Code Templates > General page.

    Kind regards,
    Siyka Marinova
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
Back to Top