Insert code templates

To insert a code template:

  1. As with Content Assist, start typing, then press Ctrl Space , or right-click near the cursor and select Content Assist.
  2. Any code templates that match the letters you've typed show at the top of the list: