Issue
After cloning a git repository with GitKraken (https://github.com/cloudwebrtc/flutter-webrtc) and opening it in Intellij it marks every file as "Non-Project Files" (Brown background).
Everything builds and runs as intended but it is kinda annoying.
I tried git checkout using IntelliJ instead, but it didn't help.
How can i fix this?
Solution
File -> Project Structure (Or press Ctrl+Alt+Shift+S)
Project Settings -> Modules
Select your project, and on the right you should have a list of content roots.
By default, it will be set as
- Source Folders:
- src\main\java
- Test Source Folders:
- src\test\java
- Test Resources Folders:
- src\test\Resources
- Excluded Folders:
- target
If that doesn't clear it up, you may need to adjust where IntelliJ thinks the project directory is in the settings.
Answered By - Andrew
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.