Install Mend Advise Code for JetBrains IDEs
Overview
Handling your installation of Mend Advise Code is a simple process, and this article covers the requirements to get you up and running seamlessly. Mend Advise Code for JetBrains IDEs, such as IntelliJ IDEA, PyCharm, and WebStorm, can be downloaded from the JetBrains Marketplace.
Getting it done
Prerequisites before you work with Mend Advise Code in JetBrains IDEs
Mend Advise Code uses the Mend CLI to effortlessly scan your projects within JetBrains IDEs.
Set up the Mend CLI for Mend Advise Code in JetBrains IDEs
Download the Mend CLI on the machine where you will be running one of the supported JetBrains IDEs and Mend Advise Code.
Authenticate your Mend CLI login via the
mend auth login
command.If you are using JetBrains IDE and the Mend CLI on a macOS machine, you must have Docker installed and running.
Install Mend Advise Code for JetBrains IDEs
Once you have downloaded and authenticated the Mend CLI, you are ready to install the Mend Advise Code plugin within JetBrains IDEs:
Locate and open your JetBrains IDE application.
Navigate to File → Settings (
Ctrl + Alt + S
).Navigate to Plugins → Marketplace:
Search for Mend in the search bar.
Install Mend Advise Code for the specific IntelliJ IDE you are using.
Restart your JetBrains IDE to enable Mend Advise Code and start scanning!
Reference
Upgrade Mend Advise Code for JetBrains IDEs
To upgrade the Mend Advise Code plugin, do as follows:
From the menu bar, select File > Settings > Plugins. Ensure that you are in the Installed tab. A list of installed plugins is displayed.
In the Downloaded section, search for Mend Advise Code, and on the right-hand side, click Update.
NOTE: If there is no new version, the Update button will not appear, and there is no need to continue this procedure.Select Mend Advise Code.
Restart JetBrains IDE if you are prompted to do so to complete the upgrade.
Uninstall Mend Advise Code for JetBrains IDEs
To uninstall the Mend Advise Code plugin, do as follows:
From the menu bar, select File > Settings > Plugins. Ensure that you are in the Installed tab. A list of installed plugins is displayed.
In the Downloaded section, search for Mend Advise Code and click it. The Mend Advise Code plugin page is displayed.
On the right-hand side, click the drop-down box, and then click Uninstall. The Plugin Uninstall dialog box is displayed.
Click Yes to confirm.
Restart JetBrains IDE if you are prompted to do so to complete the uninstallation.