Skip to content

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

License

Notifications You must be signed in to change notification settings

lyr-2000/vscode-postfix-completion

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.8%
  • JavaScript 5.2%