Usage of Code Snippets
The Welkin Suite offers you several ways to insert a snippet into your code, so you can choose what fits your needs the most.
- The easiest and the quickest way is just to start typing a snippet. You will see the appropriate variants in the Code Completion list. Double-сlick on the necessary one.
- The next way is to insert a snippet from the Main Menu:
Edit ⇒ Code Completion ⇒ Insert Snippet.
You will get a list of available snippets. Click on any snippet and you will see its tooltip. Double-clicking inserts a snippet into the code.
- One more way to insert a snippet is to use the context menu. You should put the caret in the code where you want to insert a snippet, right-click and select the option insert snippet from the context menu. Then select the snippet that you need from the appeared list.
- Finally, you can press the hotkey Ctrl+K, Ctrl+X.
In this section:
This also may be useful: