have IntelliJ IDEA refresh the project and detect changed files

后端 未结 6 639
深忆病人
深忆病人 2020-12-13 06:32

I\'m using Eclipse for development because of all the things IntelliJ can\'t do (e.g. highlight all instances of a variable) and because IntelliJ is dog slow over a remote c

相关标签:
6条回答
  • 2020-12-13 06:46

    I know this question was posted a few years ago, but maybe this info will help someone in the future. I was actually looking into a similar issue, and doing the following worked for me:

    Go to Settings > Build, Execution, Deployment > Compiler and make sure "Make project automatically" is checked.

    0 讨论(0)
  • 2020-12-13 06:58

    You can use the "synchronize" button (two yellow arrows) or in short Ctrl+Alt+Y

    0 讨论(0)
  • 2020-12-13 07:02

    Right click on your Project in the left pane and click on "Synchronize"

    You can see the status in the round circling icon at the bottom left of the IDE

    0 讨论(0)
  • 2020-12-13 07:03

    There is a synchronise button in the tool bar. Click it and it will refresh the project explorer

    0 讨论(0)
  • 2020-12-13 07:04

    Intellij can highlight variable instances, you just need to enable it . Further, if you invoke compile project, Intellij will just compile changed files (and hotswap when possible, if you are in debug mode & deploying to e.g. tomcat)

    0 讨论(0)
  • 2020-12-13 07:12

    Click File>Synchronize (or) shortcut ctrl+Alt+Y

    0 讨论(0)
提交回复
热议问题