Use of plugins
Plugin settings
In the installation explanation of IntelliJ IDEA, we actually already know that many functions of IntelliJ IDEA are also implemented through plug-ins, but IntelliJ IDEA itself is the largest developer of its own plug-in platform, and has developed many excellent plug-ins. .
- Official website plugin library: https://plugins.jetbrains.com/
- As shown in callout 1 above, IntelliJ IDEA has a good classification of plugins:
All plugins
Show all plugins.Enabled
Displays all currently enabled plugins.Disabled
Displays all disabled plugins for the current period.Bundled
Displays all plugins that come with IntelliJ IDEA.Custom
Show all the plugins we installed by ourselves. If you have installed plugins many times, this option will be used more.
- As shown in Figure 2 above, the enabled plug-in is checked. If you want to disable a plug-in, just remove the check.
- As shown in Figure 3 above, a list of plug-in repositories developed by IntelliJ IDEA will pop up for download and installation.
- As shown in Figure 4 above, a list of all plug-ins in the plug-in repository will pop up for download and installation.
- As shown in Figure 5 above, browse the local plug-in file to install it instead of downloading and installing it from the server.
- It is important to note that: in the domestic network, it is very often that the list of plug-ins cannot be displayed, or the list of plug-ins is displayed and cannot be downloaded and installed. At this time, please open the VPN yourself, which can usually be solved.
- As shown in the red circle in the figure above, if IntelliJ IDEA opens a file type that it can recognize and support, it will prompt you that it has corresponding plug-ins to support it, and you can install the corresponding plug-ins to be compatible with such files.
Plugin installation
- As shown in the Gif above, install the plugins in the IntelliJ IDEA plugin library online.
- As shown in the Gif above, install the local plug-in file offline.
Plugin recommendation
Using the lombok plugin
- lombok plugin official website: https://plugins.jetbrains.com/plugin/6317-lombok-plugin
- It is recommended to search and install the IntelliJ IDEA plugin library:
- File > Settings > Plugins > Browse repositories... > Search for "lombok" > Install Plugin
- IntelliJ IDEA configuration method, the official website has instructions (the configuration is at the project level, not IDE global): https://github.com/mplushnikov/lombok-intellij-plugin#required-intellij-configuration