Is there a way to refresh the project libraries ?
Answered
Using a custom toolbar button, I am updating a JAR file that is already added to the project Libraries.
When I run the toolbar action, the JAR file gets updated, but the updates are not reflected in IntelliJ project.
Is there a way to manually ask intellij to re-index classes in project libraries? or maybe reindex a particular JAR file ?
Please sign in to leave a comment.
Since you know the file's location, you may try with VfsUtil.markDirtyAndRefresh