Skip to content

Create Your First Snippet

erinata edited this page Mar 18, 2012 · 6 revisions

To create a snippet:

  • go to Plugin > FingerText > Toggle On/Off SnippetDock.
  • You should see a sidebar named FingerText SnippetDock shows up in Notepad++. Click the button "Open Snippet Editor"
  • A file named SnippetEditor.ftb is opened. The document is divided into 3 secions - "TriggerText" "Scope" "Snippet Content"
  • TriggerText is like the name of a snippet. You need to type the triggertext of a snippet in order to trigger it. You may enter "test" (without quotes) in this section.
  • Scope indicates where the snippet is available. You can leave it as default.
  • Snippet Content is the text you want to insert to Notepad++ when the snippet is triggered. You can put any amount of text in this section. But do remember to put a "[>END<]" (without quotes) at the end of the snippet. For example, you can enter "Hello FingerText!![>END<]" (without quotes) into this section.
  • Click the button "Save Current Snippet" on the SnippetDock to save the snippets.
  • There should be a message box saying "Snippet "test" in scope is saved. And you have created your first snippet!

Back to Main Page