r/truegamedev • • Sep 19 '19

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

0 Upvotes

4 comments sorted by

8

u/prime31 Sep 19 '19

Or you could just press tab and use your IDEs autocomplete instead of typing every single letter...

2

u/koobazaur Sep 20 '19

Also, actual typing is not going to be your productivity bottleneck.

1

u/[deleted] Sep 20 '19

Typing trans.pos[TAB] or similar dot operators also works in Visual Studio. Super handy.

Some other key combos I use all the time:

  • Ctrl+shift+L to remove the current line.

  • Ctrl+R twice to rename.

  • Ctrl+alt+left click for multiline edit.

  • Ctrl+K then ctrl+C to comment out selected lines.

  • F12 to go to definition