Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ListipyNew to Visual Studio Code? Get it now.
Listipy

Listipy

Kevin Arvai

|
1,066 installs
| (1) | Free
Format strings as Python lists
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Listipy

listipy is a Visual Studio Code extension that will convert a selection of text to properly-formatted Python list.
Install Listipy from the Visual Studio Code Marketplace.

Features

listipy can handle several types of input.

space-separated strings

Before:

Johnson Jordan Barkley Bird Ewing

After:

["Johnson", "Jordan", "Barkley", "Bird", "Ewing"]

tab-separated strings

Before:

Johnson Jordan  Barkley Bird    Ewing

After:

["Johnson", "Jordan", "Barkley", "Bird", "Ewing"]

mixed tab/space separated strings

Before:

Johnson Jordan  Barkley Bird Ewing

After:

["Johnson", "Jordan", "Barkley", "Bird", "Ewing"]

comma-separated strings

Before:

Magic Johnson, Michael Jordan, Charles Barkley, Larry Bird, Patrick Ewing

After:

["Magic Johnson", "Michael Jordan", "Charles Barkley", "Larry Bird", "Patrick Ewing"]

comma-separated strings (no spaces)

Before:

Magic Johnson,Michael Jordan,Charles Barkley,Larry Bird,Patrick Ewing

After:

["Magic Johnson", "Michael Jordan", "Charles Barkley", "Larry Bird", "Patrick Ewing"]

newline-separated strings

Before:

Magic Johnson
Michael Jordan
Charles Barkley
Larry Bird
Patrick Ewing

After:

["Magic Johnson", "Michael Jordan", "Charles Barkley", "Larry Bird", "Patrick Ewing"]

Known Issues

The listipy extension needs help with unit tests. I am not proficient in TypeScript, so it has been a slow process to get tests working. The framework exists, but does not test anything useful at the moment.

Please help!

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