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.
listipy
can handle several types of input.
Before:
Johnson Jordan Barkley Bird Ewing
After:
["Johnson", "Jordan", "Barkley", "Bird", "Ewing"]
Before:
Johnson Jordan Barkley Bird Ewing
After:
["Johnson", "Jordan", "Barkley", "Bird", "Ewing"]
Before:
Johnson Jordan Barkley Bird Ewing
After:
["Johnson", "Jordan", "Barkley", "Bird", "Ewing"]
Before:
Magic Johnson, Michael Jordan, Charles Barkley, Larry Bird, Patrick Ewing
After:
["Magic Johnson", "Michael Jordan", "Charles Barkley", "Larry Bird", "Patrick Ewing"]
Before:
Magic Johnson,Michael Jordan,Charles Barkley,Larry Bird,Patrick Ewing
After:
["Magic Johnson", "Michael Jordan", "Charles Barkley", "Larry Bird", "Patrick Ewing"]
Before:
Magic Johnson
Michael Jordan
Charles Barkley
Larry Bird
Patrick Ewing
After:
["Magic Johnson", "Michael Jordan", "Charles Barkley", "Larry Bird", "Patrick Ewing"]
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!