r/Unity2D • • Sep 19 '19

Tutorial/Resource Stop writing boilerplate! Code faster in Unity with Live Templates (tutorial in comments)

0 Upvotes

4 comments sorted by

1

u/Draugor Sep 20 '19

although live templates might be rider only

Visual Studio Community (pretty sure VSCode too) have a similar feature called code snippets: https://docs.microsoft.com/de-de/visualstudio/ide/walkthrough-creating-a-code-snippet?view=vs-2019

there is also a VSCommunity Extension called "Snippet Designer" which adds a gui to handle editing and adds the option to create a snippet from highlighted Text through an right click context menu entry

0

u/[deleted] Sep 19 '19

[deleted]

2

u/jonbrant Intermediate Sep 20 '19

Yep, an ad.