0

I have imported the project into the intellij and what I have found is that the Syntax Highlighting, error detection and method navigation for Java not working in IntelliJ.

I have tried many ways

  1. File->Invalidate Cache Restart
  2. Rebuild etc.
  3. File->Mark directory as source root(It shows all the project in red colour)

But none of them are successful.

0

1 Answer 1

1

Make sure that all of your classes are under the module Content Root, and mark the root Source Root.

Source

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.