How to disable the add library to classpath intention
Answered
The add library is first when I activate the intention, but this project should not have this library, so I want to disable these intentions.

Please sign in to leave a comment.
Enaium If you can find “Add library…” under “Editor → Intentions”, uncheck it there and see if it helps. If it can not be found there, please try below and see if it helps:
1. Intentions do not have the add library to classpath.
2. The intention does not have a submenu.
Enaium How about:
The library is needed for another subproject. So the intention is not a cache problem
Enaium In that case, “Add library to classpath” seems to be expected behavior, the real question is if this class should be visible in the current module. If not, the reference shall be removed.
If that's not the case, please consider share a minimal project in a new YouTrack ticeket with the log attached, we can check further from there.