Intellij automatically converting FQN to imports

前端 未结 2 1108
无人及你
无人及你 2020-12-11 00:11

If I have code that has a bunch of fully qualified names in it (java.util.List, javax.swing.JLabel, etc.) is there a command in intellij that will automatically convert thos

2条回答
  •  醉酒成梦
    2020-12-11 00:56

    In case, for new code entries if you are seeing the FQNs, just make sure that,

    Preferences -> Editor -> Code Style -> Java ->Use fully qualified class names is un-checked.
    

提交回复
热议问题