DOM-Model: extending resolution of @NameValue references
I tried to override DomFileDescription.getDependencyItems(XmlFile file) and returning the "included" XmlFiles, which should be used for references - doesnt work. Some more javadoc is really needed for this DomAPI :(
Please sign in to leave a comment.
MergingFileDescription
ok this one resolves and offers navigation etc but i get no autocompletion for the elements defined in other (merged) files. Bug?
Hello JB?
I don't completely understand, what are you meaning here.
"Yann Cebron" <no_mail@jetbrains.com> wrote in message
news:21542698.1155896736763.JavaMail.itn@is.intellij.net...
>I tried to override DomFileDescription.getDependencyItems(XmlFile file) and
>returning the "included" XmlFiles, which should be used for references -
>doesnt work. Some more javadoc is really needed for this DomAPI :(
Yes, it's a bug. I've seen your request, so I'll look at it.
"Yann Cebron" <no_mail@jetbrains.com> wrote in message
news:26163119.1155896736941.JavaMail.itn@is.intellij.net...
I was basically confused about the meaning of DomFileDescription.getDependencyItems(XmlFile file)
especially after I found MergingFileDescription :)
Javadoc added.
/**
Get dependency items (the same, as in {@link
com.intellij.psi.util.CachedValue}) for file. On any dependency item change,
the
{@link #isMyFile(com.intellij.psi.xml.XmlFile)} method will be invoked
once more to ensure that the file description still
accepts this file
@param file XML file to get dependencies of
@return dependency item set
*/
"Yann Cebron" <no_mail@jetbrains.com> wrote in message
news:29292381.1156771645638.JavaMail.itn@is.intellij.net...
>I was basically confused about the meaning of
>DomFileDescription.getDependencyItems(XmlFile file)