subasraj / flashpost-support

Flashpost is a lightweight Rest API Client Extension for Visual Studio Code.
MIT License
10 stars 0 forks source link

(New Feature)importing from ThunderClient would be a dream #14

Closed BananaAcid closed 8 months ago

BananaAcid commented 9 months ago

since we want to transfer everything over from thunderclient as a full replacement, there would be a lot of request and env data to be transfered. Importing would be great.

BananaAcid commented 9 months ago

to clarify: like selecting "Import ALL from ./thunder-tests" in an existing project to switch it all over.

or to be able to select thunderCollection.json

subasraj commented 8 months ago

@BananaAcid in your thunderCollection.json file add these 2 lines and it will work "client": "Thunder Client", "collectionName": "YOUR COLLECTION NAME",

BananaAcid commented 8 months ago

@subasraj Just talked to a co-coder, and he suggested, when opening flashpost, to show a popup: "You did use Thunder Client on this project, do you want to continue with to FlashPost instead (import it all)?" - Yes/no

.. a little like browsers import all they can from other installed ones.

subasraj commented 8 months ago

@subasraj Just talked to a co-coder, and he suggested, when opening flashpost, to show a popup: "You did use Thunder Client on this project, do you want to continue with to FlashPost instead (import it all)?" - Yes/no

.. a little like browsers import all they can from other installed ones.

Sorry Can't do it.

subasraj commented 8 months ago

@BananaAcid You can now select multiple collection and environment files to import. You don't have to modify anything from your thunder-tests folders, just do an import and select all files from thunder-tests/collections and thunder-tests/environments folders. Please update to the latest version and try.

jsanta commented 1 week ago

Only worked for me by modifying the collection json file. Perhaps adding these instructions to the readme file would be a nice idea.