Lombok incompatible with IntelliJ 2020.2 - intellij-idea

After the last update to IntelliJ 2020.2 i get the Error:
Plugin "Lombok" is incompatible (until build 201.SNAPSHOT < IC-202.6397.94).
I've searched for the problem, but it seems that i'm the only one who has the problem with this IntelliJ version.

The solution for me was:
Uninstall Lombok Plugin
Invalidate Caches & Restart
Install Lombok plugin 0.30 EAP
Invalidate Caches & Restart
Additional issues mentioned here.

I made an update this morning. Everything works. Intellj indicates that it is not compatible, but treats it correctly when updating. The validation of Intellj is incorrect because Lombok delivers the compatibility in the same version.
See: https://plugins.jetbrains.com/plugin/6317-lombok

A new version of lombok was released here:
Lombok
Just download the .jar file and install the plugin from disk.

It seems that IntelliJ is not installing automatically new version of lombok plugin.
Let's uninstall -> restart IDE -> Install Lombok plugin. (now you will have new version installed)

I had the same problem for 3 plugins, I solved by:
File -> Invalidated caches / restart

The plugin is incompatible with the new version of IntelliJ.
Before validating update to version 2020.2 IntelliJ displays a message of incompatibles plugins and Lombok is one of them:
You have the option to go back to IntelliJ version 2020.1 and wait for an update of Lombok

Just take the last Intellij 2020.2 RC build (which fix this bug) on : https://confluence.jetbrains.com/display/IDEADEV/IDEA+2020.2+latest+builds
And be careful to also install last lombok intellij plugin (0.30.1).
This issue is detailed on https://github.com/mplushnikov/lombok-intellij-plugin/issues/649 and is not entirelly the fault of the plugin (that's why intellij RC must be also installed)
Obviously this solution should be preferred while waiting for a final Intellij 2020.2.1 version.
More detailled information on https://youtrack.jetbrains.com/issue/IDEA-248146 (minimum build version for fix is IntelliJ IDEA 2020.2.1 RC Build #IC-202.6948.36, built on August 18, 2020)

A new version of the Lombok plugin is bundled with newer versions of IntelliJ. If you have an older version of the plugin already installed and you upgrade IntelliJ, IntelliJ may get stuck in a state that requires manually uninstalling the older plugin.
It appears this is because the older Lombok plugin is incompatible with the newer version of IntelliJ, and the newer plugin is bundled, so it can neither be uninstalled nor upgraded. However, they are not properly treated as two separate plugins, resulting in a plugin incompatible with the installed version of IntelliJ, can't be upgraded, and can't be uninstalled.
To get rid of this conflict:
stop IntelliJ
delete the plugin directory from the file system; If you have Jetbrains Toolbox, go to IntelliJ IDEA settings, and copy the install location. Remove the Lombok plugin directory rm -rf lombok-plugin
start IntelliJ
feel free to enable the Lombok plugin, and this would be the bundled one now.

Installed latest version(2020.3) of intellij and issue resolved for me.

I basically had to reinstall it twice. This is what I did to resolve the issue:
Uninstall the plugin
Invalidate caches and restart
Install the plugin (issue remained)
Uninstalled the plugin a second time
Restart (no invalidate cache this time)
Install plugin again (issue resolved)
I think someone else mentioned that the plugin does not get installed correctly the first time.

Related

How do intellij.version and sinceBuild (untilBuild) relate to each other?

I have version in intellij block in build.gradle.kts:
intellij {
version.set("2021.2.1")
type.set("IC")
plugins.set(listOf("android"))
}
and patchPluginXml:
patchPluginXml {
sinceBuild.set("212")
untilBuild.set("223.*")
}
here sinceBuild is set accordingly to intellij.version. but is this correct? which relations should have this properties? can I set sinceBuild lower than intellij.version?
The version in the intellij block is the version (number) of IntelliJ gradle will use to build the plugin.
As a result, this is also the IntelliJ version used for the sandbox IDE when you run gradle runIde.
The sinceBuild and untilBuild are the version numbers that specify the range of IntelliJ versions the plugin (build with version) supports.
You basically give users a guarantee that your plugin works with any IntelliJ version within this range.
When you upload a plugin to the market place, your plugin will be verified against all these versions by the IntelliJ Plugin Verifier.
You can also do this yourself with the runPluginVerifier task.
So, yes, you can set sinceBuild lower than version and probably should.
More often than not you want to test and build for the newest release while still supporting a few older versions.
With your current settings (version is 2021.2.1, sinceBuild is 212, and untilBuild is 223.*), your plugin will be built with 2021.2.1 and you promise users that your plugin will work with any IntelliJ version from 2021.2.1 until 2022.3.*.
When anyone tries to install your plugin with an IntelliJ older or newer than the specified range they will get a message saying that your plugin is not compatible with their IntelliJ version.

Intellij idea compiles but displays lots of errors of missing dependencies on editor

I am using ultimate 2019.3
I am getting this weird thing that it shows lots of compilation errors on depnedenceis such as Spring, Vertx, Guava and stuff like this, but gradle clean build and cmd + F9 works fine.
I tried stuff I found here:
invalidate caches and restart
delete both .m2 and .gradle/cahces
delete .idea (didn't find any *.iml
delete the repository and clone it again from GIT, importing it again to IntelliJ.
project structure -> set to Java 1.8 and checked structure and libraries - nothing out of the ordinary.
installed plugin - choose runtime and set IntelliJ to run on Java 1.8
nothing worked!
Maybe its JDK issue? I see my java -version returns 1.8 but IntelliJ runs with JDK 11.
I am completely lost and have no idea what to do.
Please help.
Regards,
Ido
Fixed it like this:
I deleted .gradle/cahces
I removed IntelliJ 2019.3
I also deleted my local repository
Tried to remove all old installations/version/repos.
Downloaded and installed 2020.1
git cloned my reposotory again
imported my project
**And it works !! **
I hanve no idea why...
maybe the new version.
maybe its the uninstall and remove all caches and versions.
Thanks to all of you who helped me.
Regards,
Ido

IntelliJ IDEA 2018.3 Browse Repositories

I can't find the "Browse Repositories" option under Plugins in IntelliJ Ultimate Edition 2018.3.2 and I am pretty sure that I had it before.
I need to install the Flutter plugin from repositories.
[!] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
Seems like you have it already installed - check the Installed tab. If it's there you probably missing the Dart plugin, which should be installed together with Flutter plugin. Try to reinstall Flutter plugin.
There are many changes in the newer versions of IntelliJ IDEA.
"Marketplace" is similar to the "Browse Repositories" option.
If you have already installed a plugin it will be in your "installed" tab.
Also, check if have somehow disabled the plugin.
I found out that the Flutter plugin is not compatible with 2018.3 versions. I downgraded to 2018.2, now it is fine.

FindBugs Plugin In NetBeans.

I get the following error when I try to install FindBugs plugin in Netbeans. Can anyone help me how to resolve -
The plugin org.apache.commons.lang is requested in version 2.4.0.
The following plugin is affected:       FindBugs
Some plugins require plugin Settings API to be installed.
The plugin Settings API is requested in version >= 1.33.1 but only 1.31.1 was found. The following plugin is affected:       FindBugs
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found.
The following plugin is affected:       FindBugs
Some plugins not installed to avoid potential installation problems.
As it is answered here, you might be using an old ScanOnDemand plugin, you can add the latest Development Plugins to your Plugins: Plugins > Settings Tab > Add and use the following URL to add a new NB Plugins source:
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
I have tried this solvation, added the source above with name 'Plugin Resource' and checked available plugins. There, Findbugs Integration plugin appeared and installed successfully. When i restarted the ide to finish the installation, it generated an error and never started again.
Thus, i have downloaded netbeans 7.3 from this link and replaced with the old one (7.0.1) on my computer. Now Findbugs plugin is availabe in the list of available plugins without any additional configuration and works flawless. I recommend you to upgrade your ide to 7.3 and solve your problem. This will fix the problems that may occure in the future because of the lack of version of your current netbeans ide.
In addition, after updating the ide, you can use the findbugs plugin installing from this source. This plugin provides to use findbugs explicitly from the inspector.

Infinitest and IDEA 10

Has anyone managed to get the new Infinitest open source version running in IntelliJ IDEA 10?
Latest version of Infinitest works well on IDEA 10. Version 5.1.87 can be found here: http://infinitest.github.com/
The version proposed by the plugins wizard is outdated, do you have to manually decompress infinitest into IDEA's plugins folder. On OSX, the plugins folder can be found by right-clicking on Intellij icon, Show Package Content
Once its decompressed, start Intellij and make sure to add the Infinitest facet to your project/module.
The IDEA plugin repository is now up-to-date.
You can install it from the IDEA Plugins manager