This is a migrated thread and some comments may be shown as answers.

Template Expansion in Comments

1 Answer 23 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 12 Feb 2012, 11:50 AM
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

1 Answer, 1 is accepted

Sort by
0
Siyka Marinova
Telerik team
answered on 21 Feb 2012, 11:00 AM
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 >>
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Siyka Marinova
Telerik team
Share this question
or