Hi Tobias,
You can create a file with the following path
$WORKSPACE/.metadata/.plugins/com.genuitec.eclipse.code.core/.codeMixData/$NUMBER/User/snippets/python.json
with the following content:
{
"Add header": {
"prefix": "pyheader",
"body": [
"'''",
"Created on $CURRENT_YEAR_SHORT-$CURRENT_MONTH-$CURRENT_DATE",
"Copyright (C) $CURRENT_YEAR Priamus System Technologies (info@priamus.com)",
"@author: Tobias Schlegel",
"'''",
"$0"
],
"description": "Adds header"
}
}
Please take a look at https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables for more info about available vars.
Cheers,
Sal