Custom language API

Is it possible to introduce references between psi trees of different
languages? Especially from custom language psi-tree to java-psi-tree.

I am a bit helpless with PsiReference, PsiJavaReference, ... and all the
methods in there.

Sven.

3 comments
Comment actions Permalink

Hi,

There are already references from xml to java code,
we will have this ability for custom language psi later.

Sven Steiniger wrote:

Is it possible to introduce references between psi trees of different
languages? Especially from custom language psi-tree to java-psi-tree.

I am a bit helpless with PsiReference, PsiJavaReference, ... and all the
methods in there.

Sven.



--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

:)
So please give me an hint when this becomes available.
Can we expect that those references will then automatically
used by find usages, refactoring etc. ?

Maxim Mossienko schrieb:

Hi,

There are already references from xml to java code,
we will have this ability for custom language psi later.

0
Comment actions Permalink

Later in Irida.

Sven Steiniger wrote:

:)
So please give me an hint when this becomes available.
Can we expect that those references will then automatically
used by find usages, refactoring etc. ?

Maxim Mossienko schrieb:

>> Hi,
>>
>> There are already references from xml to java code,
>> we will have this ability for custom language psi later.


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.