Have you ever found yourself in a situation when there is a file that exists on the disc but IntelliJ IDEA doesn’t show it anywhere? You press synchronize but nothing happens? OK, may be the next few tips will be helpful.
- Check “Ignored files and folders” in File | Settings | File Types:
- Check “Excluded roots” in File | Project Structure
Your files are shown in Project View but they are missed at runtime?
- Check compilation patterns in File | Settings | Compiler
- Check that they were not excluded from compilation in File | Settings | Compiler | Excludes