Force Refresh Of Dependencies

已回答

Hi, i've searched and searched and can't find the answer to this so here goes

I have a project thats dependent on some raw class files in a given directory. Its a plain old project, no maven, no gradle etc. Things work nicely when i set that directory up in the modules dependency tab. However, if the class files in this dependent directory change, intellij can take an age before it refreshes itself to update and re-read the dependency classes. I can force this by going into project structure and just changing the order of dependencies to force a refresh, but i'd imagine there is some magic key combination to do this? As my project is pretty huge, i dont want to do a full rebuild as that can take an age (and also doesnt always result in intellij refreshing the directory dependency anyway). Intellij knows what to do ,and eventually it will go to the directory and refresh itself of the dependent classes, all i want to do is press a button to make that happen faster.

Thanks for any advice!

 

0

https://youtrack.jetbrains.com/v2/issue/IDEA-183803 may be related. Normally external changes to the dependencies should be detected automatically.

0

请先登录再写评论。