This example uses the lombok plugin as an example.
Description of the problem
Open idea, select File-settings to open the window, and search for the lombok plugin in the Marketplace of plugins.
As a result, the search does not work, making it impossible to use the plugin.
Solution 1
Search for the plugin on the idea plugin official website, download the plugin, and install it by offline
Official website:/
1, the official website search lombok back to the car
You can see the lombok plugin, click on it
Once inside, the OVERVIEW is the overview.
Select versions, after which you can download different versions of the plugin
2, open idea, select File-settings to open the window, in the plugins, click on settings-install plugin from disk
Find the zip package of the plugin you just downloaded, and click ok!
This offline approach solves some scenarios for plugin downloads.
But choosing a version is a headache, and you may report many version conflicts:
As:
Plugin‘Lombok’ is incompatible with this installation
This time you need to download more different versions of plug-ins and try them one by one, which is more time-consuming and laborious. Personally recommended solution 2.
Solution 2
1, in the idea in the selection, select http proxy - - select the following auto ..., after clicking apply
2. Switch to Updates and click check now.
This one will take a while (2 minutes or so) to update the plugin library.
Wait until the update is complete and restart idea.
3, again in plugins, you can search for a lot of lombok plug-ins, click on the installation (install), and then restart the idea again, you can see the plug-ins will take effect.
summarize
The above is a personal experience, I hope it can give you a reference, and I hope you can support me more.