This extension helps users to generate their first Helidon project, develop and run it.
- Maven 3.5.3+ is required to be installed on your system.
- Helidon CLI is required to be installed on your system if you want to use continuous compilation and application restart.
- The Language Support for Eclipse MicroProfile extension is required to be installed in Visual Studio Code.
- The Language Support for Java(TM) by Red Hat extension is required to be installed in Visual Studio Code.
- The Java Extension Pack extension is optional but recommended.
The Helidon extension provides:
- Helidon project creation wizard
- Start/stop helidon dev (as you make source code changes the project will automatically recompile and restart your application)
- autocomplition for the application.properties files
- Open Command Palette by shortcut you are using (default: Ctrl+Shift+P).
- Start typing 'Helidon':
- Choose 'Helidon: Start page'.
- Open Command Palette by shortcut you are using (default: Ctrl+Shift+P).
- Start typing 'Helidon' :
- Choose 'Helidon: Generate a Helidon project'.
- Choose type of the Helidon project :
- Follow generator till the end.
- You will receive messages during the process and a request where do you want to open the project:
- Your new project is generated
- Open Command Palette by shortcut you are using (default: Ctrl+Shift+P)
- Start typing 'Helidon'
- Choose 'Helidon: Start helidon dev'
- If workspace contains only one helidon project, helidon dev starts automatically. If workspace contains more than one helidon project, you will be asked to choose a directory to start helidon dev.
- You will find the server logs in the bottom panel in the output tab. You can select a server to show the logs choosing project directory in the drop-down list.
- Open Command Palette by shortcut you are using (default: Ctrl+Shift+P)
- Start typing 'Helidon'
- Choose 'Helidon: Stop helidon dev'
- If workspace contains only one running helidon project, helidon dev stops automatically. If workspace contains more than one running helidon project, you will be asked to choose a directory to stop helidon dev.
- Clone the project
- Run the following command in your newly cloned project folder
- npm install
- Open it in VS Code
- Run it
- You will need a backend part of the project Lsp4helidon from helidon-build-tools
- To build the backend part of the project run
npm run build
. This command runs scripts from package.json.
Helidon provides detailed documentation and guides for its components.
Let us know if you need help with Helidon on our Slack channel or report an issue on our issue tracker.