Key Shortcut for Eclipse Imports

后端 未结 9 1203
我寻月下人不归
我寻月下人不归 2021-01-30 00:41

It\'s been a while since I last used Eclipse. I used to love this handy key shortcut that added all the imports to the top of the source file, but I\'ve forgotten it. Does any

9条回答
  •  时光取名叫无心
    2021-01-30 01:11

    Ctrl+Space : Show Imports

    This displays imports as you're typing a non-standard class name provided the proper references have been added to the project.

    This works on partial or complete class names as you are typing them or after the fact (Just place the cursor back on the class name with squigglies).

提交回复
热议问题