I have some other newbie questions. I tried once before to write a plugin (early in the 5.0 EAP process) and I have to admit it was very difficult. I hope this time around I can learn how to do these simple tasks :)
1) How do I get access to a File/InputStream of a class or XML file in an opened Project/Module? The use case is: I want to display a tree of WebWork actions based on xwork.xml in the project. To do so, I want to use WebWork's configuration code and pass in an InputStream for the XmlConfigurationProvider to read.
2) How do I find an xwork.xml file in the entire Project? For now, I want to simply search for the first xwork.xml in the Project. In the future I may support multiple configurations.
3) Suppose I want to do a Find Usage in an HTML or JSP document. Is there any way to add Find Usage/Refactoring behavior to an existing FileType/Langauge?