Skip to content

Quodatum/vscode-basex

Repository files navigation

License Visual Studio Marketplace Installs OpenVSX Registry Build Status

BaseX Tools for Visual Studio Code

The vscode-basex extension adds features to support BaseX development on VSCode. A key feature is a parser for XQuery sources that supports all BaseX features, including XQuery Update and the Full text search syntax.

Status

  • Work in progress. Errors and changes to be expected.

Features

See the documentation for more detail

XQuery

  • [Linting]
  • [Code Completion]
  • [Execution]
  • [source formating]
  • [Symbols]
  • [Snippets]
  • [Goto definition]

XPath

  • [XPath Evaluation]

XML

  • [XML Formatting]
  • [XML Tree View]

Requirements

  • VS Code 1.76.0 or higher

Release Notes

Detailed release notes are available here.

Issues

Run into a bug? Report it here.

Development

build

npm install
npm install -g typescript #once
npm install --global @vscode/vsce
#
npm run compile
vsce package

Documentation

Uses mkdocs-material

Inspiration

VSCode

This project was created from a fork of DotJoshJohnson/vscode-xml. Some of the DotJoshJohnson code dealing with XML has been removed and additional XQuery features added.

XQuery parsing

The code parsing uses quodatum/xqlint which a fork of wcandillon/xqlint. These both make use of Gunther Rademacher's REx Parser Generator.

The EBNF is shown here

Icons

Icons used in the XML Tree View are used under the Creative Commons 3.0 BY license.