Postfix templates for TypeScript/JavaScript/GO/Rust/More.
- secondary development builds its own postfix template.
- support for multiple languages.
- support for custom configuration.
{
"postfix_complection.templates": [
{
"name": "len",
"language": "go",
"description": "Assigns the expression to a new variable by using :=.",
"body": "$1 len({{word}}) \n{{indent}}$0"
},
{
"name": ":",
"language": "go",
"description": "Assigns the expression to a new variable by using :=.",
"body": "$1 := {{expr}}\n$0"
},
],
}
- Analytical expression,depending on the type of data ,to provider a corresponding template
replace the line expression text.