Skip to content

Create Your First Snippet

erinata edited this page Apr 10, 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 the name of a snippet. You need to type the triggertext of a snippet in order to trigger it. For example, you can put test 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<] at the end of the snippet. For example, you can put Hello FingerText!![>END<] 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!

Next step is to try to trigger it! Go to Triggering Snippets

Back to Main Page