README
cpp-code-template
ctrl + space key to generate custom code templates with one click.
command
"cpptemplate": "code.template.key"
configuration keyle
dreamy.code.template: array
property |
function |
linekey |
The corresponding key value is the template that is generated when the ctrl + space key is pressed. |
template |
Your corresponding key value code template. |
example
"dreamy.code.template": [
{
"linekey": "cpp1",
"template": "#include <iostream>\n\nint main() {\n\treturn 0;\n}"
},
{
"linekey": "cpp2",
"template": "#include <iostream>\n\nint main() {\n\tsystem(\"pause\");\n\treturn 0;\n}"
}
],
| |