"API for supporing XML-based languages"
One before last feature on the list:
http://www.jetbrains.com/idea/features/newfeatures.html
What is it? Where is it? :)
Please sign in to leave a comment.
One before last feature on the list:
http://www.jetbrains.com/idea/features/newfeatures.html
What is it? Where is it? :)
Please sign in to leave a comment.
PsiLanguageInjector in Demetra
Taras Tielkes wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello Taras,
TT> One before last feature on the list:
TT> http://www.jetbrains.com/idea/features/newfeatures.html
TT> What is it? Where is it? :)
http://www.jetbrains.com/idea/documentation/dom-rp.html
--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks Dmitry/Maxim,
TT>> One before last feature on the list:
TT>> http://www.jetbrains.com/idea/features/newfeatures.html What is it?
TT>> Where is it? :)
TT>>
Two questions:
1) Inside my custom language, I'd like to support Class Name completion (for
custom language elements that refer to java classes in the current project).
Is there any infrastructure/support to help with this?
2) If (1) is possible (perhaps this is where that CompletionData stuff comes
in?), will it still work when I embed my language (say inside an XML attribute).
The reason I ask this is because default XML editor already has classname
completion inside attribute values, and when I inject I want to override
this (make it more specific).
Basic support for this is incredibly easy to get: Make your attribute's type PsiClass.
You can also easily restrict the allowed classes to a certain super class/interface: