You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
can you please clarify what you mean by "not recognized"?
I went to the link posted by you and took a code snippet
let $filename := "input.txt"let $dir := file:base-dir()
let $path := concat($dir, $filename)
returnfile:read-text($path)
I created a new file with that code and after changing the flavour to BaseX everything looks fine (File -> Settings -> Other Settings -> XQuery -> Other options -> XQuery flavour).
Oh, thank you very much, I didn't realize that I should switch on BaseX flavor for it, now it's working!
I think it's a bit unobvious, though. Maybe it would be possible to show some kind of a hint, that one needs to change the flavor if generally existing, but unrecognized with the current flavor functions are used...
Otherwise, please feel free to close and sorry for the noise!
ligasgr
changed the title
File Module 1.0 support (file system API for XPath)
Quick-fix for unresolved methods which are available in other flavours
Jul 6, 2016
This extension is already supported by BaseX, but, unfortunately, not recognized by intellij-xquery:
http://expath.org/spec/file
The text was updated successfully, but these errors were encountered: