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 :(

0

MergingFileDescription

0

ok this one resolves and offers navigation etc but i get no autocompletion for the elements defined in other (merged) files. Bug?

0
Avatar
Permanently deleted user

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 :(


0
Avatar
Permanently deleted user

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...

ok this one resolves and offers navigation etc but i get no autocompletion
for the elements defined in other (merged) files. Bug?



0

I was basically confused about the meaning of DomFileDescription.getDependencyItems(XmlFile file)
especially after I found MergingFileDescription :)

0
Avatar
Permanently deleted user

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)

especially after I found MergingFileDescription :)



0

请先登录再写评论。