/vscode-postfix-completion

Postfix templates for type Typescript/Javascript/Go/Rust/More.

Primary LanguageTypeScriptMIT LicenseMIT

vscode-postfix-completion

Postfix templates for TypeScript/JavaScript/GO/Rust/More.

Features

  • secondary development builds its own postfix template.
  • support for multiple languages.
  • support for custom configuration.

Extension Settings

{
	"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"
		},
	],

}

TODO

  • Analytical expression,depending on the type of data ,to provider a corresponding template

Release Notes

0.0.1

replace the line expression text.