Insert code template

How do I insert a code template in the editor?

When I type, say, ctor, the ctor template shows up in the list that pops up. When I press enter or click it like I can do in Visual Studio, the keyword (ctor) is inserted instead of the template.

Posts

  • mattwardmattward GBMember Xamurai

    You need to press the tab key after the ctor keyword has been inserted. So if you type in ctor and press tab twice it should generate the code. The first press will insert the ctor text and then the next tab will generate the code from the template.

  • JahnOttoAndersenJahnOttoAndersen NOMember ✭✭

    @mattward

    Thank you!! I had only pressed tab once :-D

Sign In or Register to comment.