What key combination triggers the if template?

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 11 Jan 2013 Link to this post

    Hello,

    I often trigger the if template at the wrong time.  I'll start writing (in VB):

    if (

    And at this point, Telerik injects the if template, as such:

    if (condition) then

    end if

    But at this point, I already started typing, so it gets all mangled like:

    if (condition) then

    end if(somevar = "X"

    This constantly messes me up and I'd like to turn this feature off.  How can I do so?

    Thanks.

  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 15 Jan 2013 Link to this post

    Hello,

     Thanks for contacting us.
    I really doubt that this is an issue with JustCode template. Our template is triggered when "if" is written and then Shift + Space are pressed (or the combination that is set in your settings). If you write "if(" and try to activate the template nothing should happen. Furthermore, if the template is triggered your cursor should not be located at the end of the clause. Here I have made a small example.
    However, you can disable the templates or change their shortcut  from JustCode menu > Options > Code Templates.
    Thanks.

    Please, do not hesitate to contact us if you have any further questions or need of assistance.

    Regards,
    Zdravko
    the Telerik team
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  3. DevCraft banner
Back to Top