*** Technology Preview ***
Micronaut Launch is a lightweight extension for creating Micronaut framework applications within VS Code. The Micronaut framework is a lightweight reactive framework that provides a solid foundation for building cloud native Java microservices.
- VS Code (version 1.76.0 or later).
Click Install on the banner above, or from the Extensions side bar in VS Code, by searching for "Micronaut Launch".
You can also find the extension listed on the VS Code Marketplace.
Note: This extension is part of the Graal Cloud Native Extensions Pack. We recommend you install the Graal Cloud Native Extensions Pack as it provides additional extensions for Micronaut development, including the Micronaut Tools extension.
To quickly create a new project, select Command Palette from the View menu. Enter "Micronaut Launch" and invoke the Micronaut Launch: Create Micronaut Project command. The wizard will prompt you to:
- Pick the Micronaut version
- Pick the application type (for more information, see Creating a Project)
- Select installed Java runtime to use for local builds (from the list of Java installations found on your system)
- Enter a project name (or use the default "demo")
- Enter a base package name (or use the default "com.example")
- Pick the project language (you can build an application using Java, Groovy, or Kotlin)
- Pick the project features (some of which are listed below)
- Pick the build tool (Gradle or Maven)
- Pick the test framework (JUnit, Spock, or Kotlintest)
- Select the destination directory
Finally, select whether to open the new project in a new window or add it to the current workspace.
The extension contributes the following settings:
- micronaut.home - the optional path to your local Micronaut Launch Command Line Interface (CLI). Specify the local Micronaut CLI installation to be used in addition to the default Micronaut Launch web interface, for example, /usr/me/micronaut-cli-4.0.1.
- micronaut.launchUrl - Optional URL for the Micronaut Launch web interface (for example,
https://launch.micronaut.io
). Specify a URL for the Micronaut Launch web interface in addition to the default (https://micronaut.io/launch/
).
Invoke the Micronaut Launch commands from the Command Palette, then search for "Micronaut Launch". To open the Command Palette, select Command Palette from the View menu.
The following command is available for Micronaut project creation:
- Micronaut Launch: Create Micronaut Project: create a Micronaut project
If you have suggestions for new features, or if you have found a bug or issue, we would love to hear from you. Use the links below:
To submit pull requests to vscode-extensions, first sign the Oracle Contributor Agreement.
Project members with write access to the repository will identify and assign an appropriate Assignee for the pull request. The assignee will work with the pull request owner to address any issues and then merge the pull request.
Refer to CHANGELOG.