[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

6 comments
Comment actions Permalink

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


0
Comment actions Permalink

Not sure if related, but it appears language injection (into literals) is
broken in this IDEA build.


0
Comment actions Permalink

Oops, never mind that (had some code disabled in plugin.xml)


0
Comment actions Permalink

Hello Taras,

Seems like the expression field in the "Evaluate XPath" dialog doesn't
support any completion.
(Works just like a plain text field).


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

0
Comment actions Permalink

Hello Sascha,

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


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


0
Comment actions Permalink

Hello Taras,

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


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

0

Please sign in to leave a comment.