This content has been included from the project-env-intellij-plugin Github repository.
Project-Env IntelliJ-Plugin
This plugin configures tools setup by the Project-Env CLI (see Project-Env for more details), as far as possible, in the IntelliJ project settings.
Currently, the following project settings are configured automatically if the tool is declared:
- JDK: Adds the JDK to the JDK table and sets it as project JDK
- Maven:
- Sets the project specific path to Maven to the corresponding location.
- Makes all environment variables of all declared tools available to Maven executions
- Configures the user specific settings file - the global settings file is (if existing) linked into the Maven distribution.
- Gradle:
- Sets the project specific path to Gradle to the corresponding location.
- Makes all environment variables of all declared tools available to Gradle executions
- Node: Adds a new interpreter and set it as project default interpreter
Please note that changes in this file are only loaded once after opening the project. Afterwards, the Project-Env must be manually refreshed by using the action under Tools > Project-Env > Refresh️.
Installation
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "Project-Env" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.