Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do not merge] Proof of concept of menu based CS creation #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nima-ap-zz
Copy link
Contributor

This PR demonstrates some of the options we have with regards to the 'create new cloudscript' action.
At its core, it simply creates a file and programmatically inserts a snippet for the user which they can from there onward tab to complete.
Please comment if need be so we can further discuss the options here cause we do have the option of doing everything like the Azure Functions extension as well.

@nima-ap-zz nima-ap-zz self-assigned this Apr 12, 2019
@nima-ap-zz nima-ap-zz requested a review from MGudgin April 12, 2019 16:05
@MGudgin
Copy link
Contributor

MGudgin commented Apr 12, 2019

I think I'd like to see all 3 options side-by-side so we can play with them and see which ones feel better, both in terms of experience and in terms of consistency with other extensions/snippets/commands in VS Code or extensions our developers will likely be using.

  1. Pure snippet.
  2. Pure command and template.
  3. Hybird (which is what this PR is, right>)

@nima-ap-zz
Copy link
Contributor Author

nima-ap-zz commented Apr 12, 2019

I think I'd like to see all 3 options side-by-side so we can play with them and see which ones feel better, both in terms of experience and in terms of consistency with other extensions/snippets/commands in VS Code or extensions our developers will likely be using.

  1. Pure snippet.
  2. Pure command and template.
  3. Hybird (which is what this PR is, right>)

The first option is already completed and ready to test out. The second option would pretty much involve asking every question in the template from the developer in a squence of quickpicks/inputboxes which is equal to what Azure Functions Extension does today. The question for that model can be whether we are interested in providing a 'hello-world' like how AF function creation does, or if we're more interested in providing a 'here's everything you need to start writing a function over >here<' approach. Both are valid, and worth considering, however I would like to ask to be assigned to implement option 2 only if we are actually deciding to do it since it would require additional work for something we know what it looks like cause that's what azure functions are doing right now, in a private preview sprint for a feature not included in private preview.

Base automatically changed from master to main January 25, 2021 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants