Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 4.84 KB

README.md

File metadata and controls

82 lines (55 loc) · 4.84 KB

Micronaut® Launch

Visual Studio Marketplace Installs License

*** Technology Preview ***

Overview

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.

Features

Requirements

  • VS Code (version 1.76.0 or later).

Installing the Extension

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.

Usage

Create a New Micronaut Project

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) Micronaut Project Features
  • 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.

Extension Settings

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 CLI Set
  • 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/).

Micronaut Launch Commands

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

Feedback

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:

Contributing

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.

Release Notes

Refer to CHANGELOG.