java - Cannot resolve symbol in Git repo files with IntelliJ -
i've been working on getting set using github java project using intellij. i've figured out basics of using github reason after i've got repository set up, clone project , open in intellij has errors recognizing every single class type.
the src files open fine, run fine, compile fine yet intellij highlights every single statement type declaration in it, "cannot resolve symbol", , says not recognize type. yet src files in same folder.
intellij not recognising files proper source code because wasn't told to. need mark folder source root.
- right-click on folder
- select mark directory as → source root
Comments
Post a Comment