IntelliJ doesnt suggest fields of other classes after dot.

已回答

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

Hello,

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

0

请先登录再写评论。