IntelliJ Static Import Completion

前端 未结 7 1986
别跟我提以往
别跟我提以往 2020-12-08 12:39

In Eclipse I was able to register a set of classes for static import auto-completion, e.g. Math., Assert., EasyMock.*

With this enabled I was able to hit ct

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 13:31

    Alt + Enter will do the trick. You have to have the whole expression at first, and the hit Alt + Enter on the method you want to statically import.

    statically import IntelliJ

提交回复
热议问题