I had to get obsessed with keyboard shortcuts when using IDEA.
          Apparently some of that must have rubbed off, because
          lately I've been looking for shortcuts to methods and classes in Eclipse 3.0.

          There are two traversal shortcuts I use all the time: Ctrl-O and Ctrl-T.

          Ctrl-O shows the methods of the class in the current editor in a popup.
          Hit Ctrl-O when the popup is up, and you'll see all the inherited
          methods as well. This is incredibly useful, as it allows me to bounce
          between methods even when I'm not sure which class is implementing
          which method.

          Ctrl-T shows the type hierarchy of a selected type in a popup. This is the
          complement to Ctrl-O. When I'm sure of what
          interface I'm looking at, but I really want to pick a particular implementation
          and want to go trawling through that
          implementation for a bit, Ctrl-T will show me all the subclasses or
          implementors for that type.

          There is a third option which I haven't used much. Ctrl-F3 shows the
          methods of a selected type in a popup. I can see how this can be useful,
          but in practice I have a pretty good idea of which methods are attached
           to which classes and Ctrl-Space fills most of my needs there.

          However, I have been missing a couple of things. These are the shortcuts
          I just found recently, and are very good for hitting up random files:

          Ctrl-E shows a popup list of all the open files.
          Ctrl-Shift-T creates a dialog box that you can use to navigate to any class.
          Ctrl-Shift-R creates a dialog box that shows any resource in the project
          (basically any file.)
          Alternately, there's an Eclipse plugin called GotoFile which seems to behave
          a little more "IDEAish".

          Finally, I found a plugin which actually integrates Eclipse with Windows!
          Eclipse Platform Extensions is actually functional and useful, although
          you wouldn't guess it by looking at the website. Although it says that
          it provides a "System GC" functionality, it actually does far more,
          like provide a "Open in Windows Explorer" and
          "Open Command Window here" dialog to the Package Explorer.



          版權(quán)所有 羅明
          posted on 2006-02-16 14:09 羅明 閱讀(381) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): Eclipse
           
          主站蜘蛛池模板: 资中县| 灵石县| 林芝县| 儋州市| 德安县| 襄城县| 堆龙德庆县| 云安县| 汉沽区| 五峰| 和静县| 西吉县| 瑞丽市| 合阳县| 十堰市| 乐安县| 和顺县| 大理市| 鸡东县| 新宾| 宜昌市| 赣榆县| 东兴市| 大同县| 竹溪县| 新宾| 岢岚县| 临邑县| 渭南市| 甘孜| 阿荣旗| 壶关县| 杭州市| 临邑县| 枣阳市| 梁平县| 瑞丽市| 乡城县| 开阳县| 新田县| 博罗县|