8000 GitHub - fbricon/vscode-quarkus: Prototype VSCode Quarkus tools extension.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fbricon/vscode-quarkus

 
 

Repository files navigation

VSCode Quarkus

Prototype VSCode Quarkus tools extension. Based on https://github.com/tsurdilo/quarkus-vsc

What has been implemented?

  • Generating a Quarkus Maven Project
    • Default values for groupId, artifactId etc.
    • "Last Used" option when selecting extensions
    • Back button works
    • No intermediate delay when going through the wizard
    • Choose initial Quarkus extensions to add
      • The list of Quarkus extensions comes from a REST endpoint
      • The "last used extensions" are checked in the list of Quarkus extensions, to ensure that they still exist. If an extension does not exist in the list, the extension is removed.
  • Adding Quarkus extensions to a current Quarkus project
    • Able to run the terminal commands to add Quarkus extensions to current project
  • settings.json looks like the following:
"quarkus.tools.starter": {
    "apiUrl": "http://quarkus-generator.6923.rh-us-east-1.openshiftapps.com",
    "defaults": {
        "groupId": {last used groupId},
        "artifactId": {last used artifactId}",
        "projectVersion": {last used projectVersion},
        "packageName": {last used packageName},
        "resourceName": {last used resourceName},
        "extensions": [
            {
                "name": "Flyway",
                "labels": [
                    "flyway",
                    "database",
                    "data"
                ],
                "groupId": "io.quarkus",
                "artifactId": "quarkus-flyway",
                "guide": "https://quarkus.io/guides/flyway-guide"
            }
        ]
    }
}

What might be nice improvements?

  • Hide the Quarkus: Add extensions to current project command when the current project is not a Quarkus extension.
  • Handle the situation where the current project has .mvnw or not. Currently when the user adds Quarkus extensions after creating a starter project, the terminal command that runs is always prefixed with mvn.
  • When adding extensions, extensions that are already installed should be excluded from the list of extensions.
  • settings.json
    • The user cannot edit anything in quarkus.tools.starter without going into settings.json. Might be a poor experience to users.
    • Find a better place to store the last used extensions. Spring Boot Initializr does not save its last used extensions in settings.json.
    • Too much information is being saved for last used extensions. Only the artifactId should be saved.
  • Many features are missing.

About

Prototype VSCode Quarkus tools extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.5%
  • JavaScript 3.5%
0