ttakezawa / vscode-postfix-python

Postfix notation for Python - extension for VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postfix templates for Python

simply folk from ipatalas/vscode-postfix-ts, and change some code in order to work with Python

Features

demo.gif

All available templates (expr means the expression on which the template is applied):

Template Outcome
.return return expr
.len len(expr)
.int int(expr)
.iter iter(expr)
.type type(expr)
.print print(expr)
.if if expr:
.ifn if expr is None:
.ifnn if expr is not None:
.forloop for i in range(expr):
.forin for item in expr:

About

Postfix notation for Python - extension for VS Code

License:MIT License


Languages

Language:TypeScript 98.4%Language:JavaScript 1.6%