Skip to content

Creating a snippet from scratch

mmanela edited this page Sep 16, 2014 · 4 revisions

The following describes how to create a new snippet file from scratch using the Snippet Designer

  • Open up the new file dialog

  • Select the Code Snippet

  • This will open up a blank snippet editor

  • Enter the code which you would like to become your snippet

  • Right click on the variables/symbols you would like to be replacements and choose make replacement

  • Afterwards you will see this

  • Repeat this process for all variables/symbols you would like to be replacements

  • Set your snippet's name and set the shortcut with which you would like to access your snippet

  • Set your snippet's shortcut with which you would like to access your snippet from inside the editor

  • Then Save your snippet and you are done!!

Clone this wiki locally