title: How to jump to Spring context XML file from Java Class in Eclipse
body: <p>I well read the question <a href="https://stackoverflow.com/questions/6309733/how-to-find-spring-xml-definition-from-java-class-in-eclipse">How to find Spring XML definition from Java Class in Eclipse</a> but it does not seem to answer similar question from me.</p>
  
  <p>I would like to jump from Java class in editor to the spring context xml file.  </p>
  
  <p>If I highlighted a class declaration in editor, by pressing a shortcut key or clicking on some icon, it should open the corresponding spring context xml which have the bean initialization definition and jump to the line which initializes the bean "&lt; bean id=... >". If I highlighted a set method in editor, it will do something similar but jump to where the property is set "&lt; property name=method_name... >"</p>
  
  <p>I am using Eclipse Java EE IDE for Web Developers Indigo SR2.  I have installed Spring IDE Developers and SpringSource.  I have added Spring nature to the project, added context xml to the project property Spring Beans Support Config Files, and could see the "S" on file icon decorator of the context file and java class, but I could NOT find a way to jump from the Java class to the spring context xml.</p>
  
  <p>My colleague is using IntelliJ and they could see a bean icon in their editor next to class declaration.  I would hope to see something similar on Eclipse.  Ideally, not only class level, but also next to set methods.</p>
  
  <p>Any advice will be much appreciated!</p>
  
  <p>Thanks
  Gerry</p>