create regions shortcut ??

4 posts, 0 answers
  1. ivan
    ivan avatar
    5 posts
    Member since:
    Aug 2011

    Posted 02 Sep 2011 Link to this post

    Is this supported
  2. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 03 Sep 2011 Link to this post

    Hello Ivan,

    You can use the templates to create #regions. Here is the template definition (JustCode Options - Code Templates - C# - Add)

    #region $1$
    $STATEMENT_SELECTION$
    #endregion

    After that you can select some members and Alt+End will show you the list with available templates. Then you can choose Surround with #region...

    If you have any other problems or suggestions, please don't hesitate to write back.

    Regards,
    Svetlozar
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. ivan
    ivan avatar
    5 posts
    Member since:
    Aug 2011

    Posted 03 Sep 2011 Link to this post

    can I assign a shortcut to it?
  5. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 08 Sep 2011 Link to this post

    Hi Ivan,

    Currently you can't assign a shortcut to a template. We have acronyms but they can't be used for surround templates.

    We already have that in our product backlog (apply template using a shortcut) and I increased its priority.

    Regards,
    Svetlozar
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top