Reputation: 869
I am working with a scala project, this is my spec:
IntelliJ IDEA 2019.1 (Community Edition)
Build #IC-191.6183.87, built on March 27, 2019
JRE: 1.8.0_202-release-1483-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4
I cannot click on declarations and it is frustrating me!
I know that this question already have been asked here but the solutions provided are not working and i am desperate, i tried:
File-> Invalidate Caches/Restart
Mark src folder as root source folder
Exit IDE
Recursively delete all .iml files from project directory
Find and delete all .idea folders
Delete contents of the caches, index, and LocalHistory folders under .IntelliJIdea2017.2\system
Open Idea and import project ....
And it is not working.
Upvotes: 2
Views: 13735
Reputation: 525
intelliJ had disassociated .php files as PHP files, and instead as text files for some reason.
Going to Prefs -> File Types and adding back *.php as a PHP file type fixed all my problems.
Upvotes: 0
Reputation: 869
I changed the value of the name attribute of the build.sbt file, that is, I changed a character, I saved, I put the character back, I saved again, the project has recompiled and now if it finds the sources, the packages, everything.
I don't get it, actually, but it works and I can continue.
Upvotes: 1