Cannot edit libraries in Project Structure
Answered
Have not been able to edit libraries in the Project Structure dialog for a long time. Have to close IntelliJ, then edit .idea/libraries/<project>.xml in a text editor then restart IntelliJ.
The dialog does not apply any Add or Delete action. Just ignores it. The .xml appears to be normal and works when edited by hand.
This is a long-term project started 9 years ago. Working on Version 4.0. So the project's files have been around that long.
Version info:
IntelliJ IDEA 2024.1.4 (Ultimate Edition)
Build #IU-241.18034.62, built on June 20, 2024
Please sign in to leave a comment.
Please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA . We'll need a sample project to reproduce the issue.
Have done so. See: https://youtrack.jetbrains.com/issue/IDEA-356444/Cannot-edit-libraries-in-Project-Structure
However, this issue appears to be specific to this project. So a “sample” other than this project cannot be provided. Other Java projects do not exhibit this behavior. Kinda weird.
We were not able to reproduce the issue with the project you linked. See if disabling the Package Search plug-in helps.
Well shucks. Disabling Package Search had no effect. Guess I'll have to continue editing Libraries by hand.
It's weird it seems to be something about this project. Started it in 2015 so there have been a lot of updates since. However, with everything that's in this I don't want to rebuild it from scratch.
Thanks for your time.
Try with File | Manage IDE Settings | Restore Default Settings…: https://i.imgur.com/kbrkC7w.png .