xpath Permanently deleted user Created August 16, 2005 10:59 Hi!Maybe this is well known, at least for me its new:Yesterday IDEA showed me that my xpath expression is wrong - in source - an inspection warning.I am really impressed.Great work, cool stuff!---Mario
Thanks, that was one of my favorites. It also checks regexes and printf formatting strings.
BTW, if you do much with XPath, you really need the XPathView plugin, by Sascha Weinreutter, available via the PluginManager. Very sweet stuff.
--Dave Griffith
By the way, are you aware of this feature request ?
http://www.jetbrains.net/jira/browse/IDEA-4527
;)
BoD
Dave Griffith wrote:
Wasn't aware that it had been requested, but had already thought of it.
--Dave Griffith
Another nice thing would be if it is possible to annotate a method variable.
Say you have:
public String wrappedXpathEvaluator(@Inspect(lang="XPath") String xpath)
{
...
}
which would trigger the evaluation of the inspection for such custom
methods too.
For sure, the annotation syntax can be changed ;)
---
Mario
Nice idea. Opens up a lot of possibilities...
--Dave Griffith
That sounds very cool. This is a larger request, though, I think, to allow the
Language API to handle such strings.
Mario Ivankovits wrote: