Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (27 loc) · 1.64 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.64 KB

Atom XQuery Language

In favour of language-jsoniq this package is deprecated.


This package offers

  • XQuery Syntax highlighting
  • Snippets abbreviations
    • XQuery Update: delete, insert, replace, rename, copy
    • All XPath 3.0 Functions: full signature, e.g. minutes-from-duration completes to fn:minutes-from-duration($arg as xs:duration?) as xs:integer?
    • XPath axis step: .., //, ., /, @, an, as, ch, de, ds
    • XML entities:tab,nl, cr
    • Prologs: declnl (item-separator declaration), variable, module, import, version
    • FLOWR Expression: order, group, let, for,
    • Quantified Expressions: some, every
    • Further: try, switch, typeswitch, ct (contains text), fn, function, (: (XQuery doc), (# (pragma)

The snippets’ file (snippets/xquery.cson) is generated with the XQuery script etc/fnlist.xq using BaseX and improved manually.

Credits

Highlighting is based on the XQuery TextMate Bundle. Snippets are inspired by XQuery Code Completion in BaseX


Get the most out of those snippets with the autocomplete+ packages by saschagehlich, namely autocomplete+ and autocomplete+ snippets