Can eclipse be configured to automatically fix missing Imports?

前端 未结 6 724
北海茫月
北海茫月 2020-12-08 02:18

Because they didn\'t make it easy enough already ;)

6条回答
  •  再見小時候
    2020-12-08 02:58

    Ctrl + Shift + O (Cmd + Shift + O for mac) - Organize all imports
    Ctrl + Shift + M (Cmd + Shift + M for mac) - Import one by one (you need cursor on the red marker)

提交回复
热议问题