Skip to content

Ask user to specify build tool for project generation#137

Merged
fbricon merged 1 commit intoredhat-developer:masterfrom
xorye:108create_gradle
Nov 7, 2019
Merged

Ask user to specify build tool for project generation#137
fbricon merged 1 commit intoredhat-developer:masterfrom
xorye:108create_gradle

Conversation

@xorye
Copy link
Copy Markdown
Contributor

@xorye xorye commented Nov 6, 2019

Fixes #108

Adds the ability to create a Gradle project:
image

Signed-off-by: David Kwon dakwon@redhat.com

Comment thread README.md
}

const quickPickItems = [{label: 'Maven', value: 'MAVEN'}, {label: 'Gradle', value: 'GRADLE'}];

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build tool choice should be remembered

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After the first time the user selects a build tool, it saves the choice so next time, the build tool selection step is skipped? And then to change the build tool, maybe add a vscode setting?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, just preselect it, keep it displayed

Signed-off-by: David Kwon <dakwon@redhat.com>
@xorye
Copy link
Copy Markdown
Contributor Author

xorye commented Nov 7, 2019

@fbricon I've made the changes. Depending on what the user selected before, the order of the options are different:

image

image

@xorye
Copy link
Copy Markdown
Contributor Author

xorye commented Nov 7, 2019

Defaults to Maven

@xorye
Copy link
Copy Markdown
Contributor Author

xorye commented Nov 7, 2019

I recently learned that you can set the activeItem for a quick pick. I will do that instead of changing the order of the items.

@fbricon fbricon merged commit c48b0a9 into redhat-developer:master Nov 7, 2019
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.

Create a new Gradle project

3 participants