Is there a way to refresh the project libraries ?
已回答
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 ?
请先登录再写评论。
Since you know the file's location, you may try with VfsUtil.markDirtyAndRefresh