[ANN] XPathView + XSLT-Support 2.0-beta
Available via the Plugin Manager for IDEA Demetra (6.0) since build #5692.
Changes:
- IDEA 6.0 port of v1.4.1
- Special formatting that preserves whitespace inside xsl:text elements
This is a beta release, please report any bugs or misbehavior you encounter.
Known issue:
- Colors of XPath expressions in XSLT don't look very pretty initially. They
can be configured via Settings | Colors & Fonts | XPath
http://plugins.intellij.net/plugin/?id=237
Enjoy.
Sascha
请先登录再写评论。
Hello Sascha,
Seems like the expression field in the "Evaluate XPath" dialog doesn't support
any completion.
(Works just like a plain text field).
Taras
Not sure if related, but it appears language injection (into literals) is
broken in this IDEA build.
Oops, never mind that (had some code disabled in plugin.xml)
Hello Taras,
Thanks for the report. It's unbelievable: This bloody stuff still just doesn't work
properly without registering a "dummy" FileType. As if there were any *.xpath files...
Workaround: Set the system-property "xpath-lang.register-file-type" to true. That's also
why I missed this at the final test because I had this set :(
Sascha
Hello Sascha,
Thanks, this was actually one of my next OpenAPI questions: can I get rid
of all the filetype stuff when my language is for injection only? Seems the
answer is: not yet...
Hello Taras,
Actually it seems that the injection does work without a registered FileType. I filed
IDEA-9406 about the completion/highlighting problem and IDEA-9409 that the injection keeps
working ;)
Sascha