Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

As a developer I can export my smart contract packages for use elsewhere #210

Closed
EdMoffatt opened this issue Oct 15, 2018 · 2 comments
Closed
Assignees

Comments

@EdMoffatt
Copy link
Contributor

Packaging a smart contract project puts it in a set location for the VSCode extension to use. One option for devs who want to use their packages elsewhere (e.g. need to send them to someone else to deploy into an IBM Blockchain Platform runtime) is to find this location on disk and copy them from there. Finding where they're stored is likely a Google search tho, so could be useful to add something more discoverable into the extension.

Opening suggestion: right-click on a package in the Smart Contract Packages view has an option "Export Package", which then gets you a save-as file dialog, to pick where you want to save a copy of that package to.

@sstone1
Copy link
Contributor

sstone1 commented Oct 18, 2018

Proposed design:

  1. New command added called "Export Package".

  2. Can trigger this command from the package tree:

screen shot 2018-10-18 at 15 28 36

  1. Can trigger this command from the command palette

screen shot 2018-10-18 at 15 28 54

  1. The command opens a save dialog:

screen shot 2018-10-18 at 15 29 55

  1. The package is exported and the user informed:

screen shot 2018-10-18 at 15 30 09

  1. ???

  2. Profit.

@EdMoffatt @caroline-church any comments?

@cazfletch
Copy link
Contributor

looks good

sstone1 pushed a commit to sstone1/blockchain-vscode-extension that referenced this issue Oct 18, 2018
Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants