IntelliJ doesnt suggest fields of other classes after dot.

Answered

Hi im new to IntelliJ and just cloned a Github Project into the IDE.

For some reason it doesnt suggest Fields of other classes after "classname." expression.

I Have a static field "test" in class MarsControl

If i type "MarsControl." in its own class i get the suggestion "int test".

But if i type it in other classes i dont get it.

I didnt find anything in the Settings for Code completion.

See following screenshots:

As example see following screenshot:

 

1
1 comment

Hello,

Looks like you "src" folder is not marked as sources root. Please try to reimport project or mark it manually.

0

Please sign in to leave a comment.