Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>anamoyee's Simple PostfixNew to Visual Studio Code? Get it now.
anamoyee's Simple Postfix

anamoyee's Simple Postfix

anamoyee

|
1 install
| (0) | Free
anamoyee's Simple Postfix
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

simple-postfix README

note to self: https://marketplace.visualstudio.com/manage/publishers/anamoyee?auth_redirect=True

Usage example:

settings.json

{
  "postfix.rules": {
    /* Use * as language name to apply to all languages
	"*": [

	] */
	"python": [
      {
        "lineRegex": "^(?<indent>[ \\t]*)(?<group>.*)!print",
        "replacement": "$<indent>print($<group>)",
      },
      {
        "lineRegex": "^(?<indent>[ \\t]*)(?<group>.*)!len",
        "replacement": "$<indent>len($<group>)",
      },
    ],
    /* more languages here, use vscode langId name; "javascript": [ ... ] */
  },
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft