Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>py-formatNew to Visual Studio Code? Get it now.
py-format

py-format

nino_oe

|
2,651 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

py-format README

Command to format lines into a python list https://marketplace.visualstudio.com/items?itemName=ninooe.py-format

Example

Features

Requirements

Extension Settings

This extension contributes the following settings:

  • py-format.listRegex: regex group 1 will set seperator for lists
  • py-format.listSeperator: default seperator (default is \n)
  • py-format.dictRegex: regex group 1 will set seperator group 2 will assign
  • py-format.dictAssign: regex group 1 will set seperator for dicts
  • py-format.dictSeperator: default seperator (default is \n)

Known Issues

lines2dict not functional by now


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft