F2 Snippets
A collection of useful snippets for F2 process development.
How to use
Type part of a snippet command, and complete with tab
or enter
when the suggestion is shown. The snippet output will be pasted at the cursor location.
Most snippets include tabstops, placing the cursor at relevant locations in the snippet output. Use tab
to navigate to the next possible tabstop.
Features
Custom snippets
Define folders or URLs to load snippets from, using the settings:
f2.snippets.urls
: A list of URLs, each a single snippet file. Use it to load snippets from online sources, e.g. git repos.
"f2.snippets.urls": [
"https://git-sc.cbrain.net/ProcessWork/Toolchain/raw/branch/master/snippets/plaintext.code-snippets"
],
f2.snippets.folders
: A list of local folders, each containing any number of snippet files. Every file with the correct extension (.code-snippets) is loaded into the VSCode snippet folder.
"f2.snippets.folders": [
"C:\\Projects\\ProcessWork\\Toolchain\\snippets"
],
Taskguide snippets (xml)
Command |
Result |
bpguide |
Boilerplate for *.guide.xml files |
bpfields |
Boilerplate for *.fields.xml files |
bpforms |
Boilerplate for *.forms.xml files |
bpconfig |
Boilerplate for *.config.xml files |
bpscripts |
Boilerplate for *.scripts.xml files |
tgautocomplete |
Autocomplete template for datafield |
tgcaseinfo |
CaseInfo task template |
tgcaseparty |
CaseParty task template |
tgmatter |
Matter task template |
tgselfservice |
SelfService task template |
tgactiontask |
Action task template |
tgactiontaskwebpush |
Action task with webpush template |
tgtask |
Simple task template |
Selfservice snippets (xml)
Command |
Result |
bpss |
Boilerplate for selfservice files |
bpssreply |
Boilerplate for selfservice reply |
ssautocomplete |
Autocomplete template for datafield |
sswebaction |
Webaction template |
BIG snippets (xml)
Command |
Result |
bpbig |
Boilerplate for BIG files |
bigtrans |
Transformation template |