Eclipse's Ctrl+1 in IntelliJ and Android Studio

前端 未结 5 918
鱼传尺愫
鱼传尺愫 2020-12-25 09:42

I really like the Ctrl+1 shortcut (hints for errors and mini refactorings) in Eclipse. Is there an equivalent for it in IntelliJ and Android Studio?

5条回答
  •  被撕碎了的回忆
    2020-12-25 09:45

    I also don't think ctrl+enter is the answer.

    I'd say ctrl+alt+shift+t (Refactor this...) which I remapped to ctrl+1 is the closest thing to ctrl+1 from eclipse. It allows you to inline, extract code (variable, method, field etc.), move code, pull members etc.

提交回复
热议问题