I Spy Menus

Everyone remember the beloved PDE plug-in spy? Well, on a recent plane trip… I did some hacking to enable menu introspection… check out this video:


So when you launch the spy in menu mode (alt+shift+f2) and click on something like the ‘Generate Javadoc…’ menu entry, you get this pop-up:


The functionality is currently in very rough shape… I released some initial code for the I20090317 “EclipseCon build.” If you have any suggestions on how to improve this introspection workflow or presentation, please comment and let me know! On a side note, Paul Webster  and I plan to have a hackathon session at EclipseCon to solidify the menu introspection code for the Eclipse 3.5 M7 release. Feel free to join to us!

Finally, I hope to see everyone at EclipseCon!

Latest posts by Chris Aniszczyk (see all)

  • marc
    Posted at 3:28 pm, March 18, 2009

    nice! So just to clarify for myself (a relative eclipse n00b), the idea here is that you’re a plugin developer and you want to contribute something to some other plugin’s menu. You can then use the menu spy to easily get the context identifier for use in your own plugin.xml. Is that the idea? Without the menu spy, what’s the fastest way to the same information?

    And does the menu spy give you *everything* you need to know to correctly populate your plugin.xml?

    The reason I ask is that I think stuff like this is *extremely* helpful especially for newer plugin programmers as it aids in their understanding of how everything fits together; but it’s less helpful if it only gives enough information such that an experienced plugin programmer would know what to do with it but an inexperienced plugin programmer would only be getting part of the info they need.

    just a thought.

  • Frederic Conrotte
    Posted at 4:25 pm, March 18, 2009

    Hi Chris,

    Is this spy somehow equivalent to RCP Inspect ?

    http://rcpinspect.sourceforge.net ?


  • Eugene Kuleshov
    Posted at 3:51 pm, March 18, 2009

    Any chance to package an update site, so it could be used with Eclipse 3.4?

  • Posted at 4:01 am, March 19, 2009

    Hello Chris,

    This is an excellent functionality. Many times in my eclipse coding life, I felt I wanted a similar functionality.


  • marc
    Posted at 12:24 pm, March 19, 2009

    Chris, copy-n-paste menu URIs would be sweet. Anything the platform can do to help me answer the question “How do I put something [in this place]?”, where place is a menu, a toolbar, etc, is a big productivity enhancement.

    thanks for the great work.

  • Wim Jongman
    Posted at 5:19 pm, June 7, 2009

    Very good. Thanks!