Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Spring beans ID list
Permanently deleted user
Created
Hi,
Since the spring plugin is now opensource, is there a way for me to obtain a list of spring beans ids in a particular spring confguration file using the Spring pluging features?
The Spring plugin is open source? Did I miss that? I couldn't find the source anywhere, do you have a link?
Sorry, my bad. Spring API is opensource. Not the Spring plugin itself. Any idea how to obtain the spring bean ids list through the API?
Yes, this is possible.
If you want to just get the "plain" list of Spring Bean IDs use
com.intellij.spring.SpringManager#getLocalSpringModel(com.intellij.psi.xml.XmlFile)
to obtain a local model of the given file, then query it according to your needs.
That's what I was looking for. Thank you Yann.