-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Quodatum/dev
Dev
- Loading branch information
Showing
76 changed files
with
5,579 additions
and
3,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Generate Github pages with mkdocs." | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
permissions: | ||
contents: write | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | ||
- uses: actions/cache@v3 | ||
with: | ||
key: mkdocs-material-${{ env.cache_id }} | ||
path: .cache | ||
restore-keys: | | ||
mkdocs-material- | ||
- run: pip install mkdocs-material | ||
- run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
out | ||
site | ||
node_modules | ||
.vscode-test/ | ||
/*.vsix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
|
||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
node_modules | ||
#out/ | ||
!node_modules/@quodatum/xq-catalogs/**/* | ||
out | ||
!out/extension.js | ||
site/ | ||
src/ | ||
docs/ | ||
tsconfig.json | ||
.github | ||
.gitignore | ||
.vscode | ||
mkdocs.yml | ||
tslint.json | ||
notes.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Commands | ||
summary: The commands of the vscode-basex extension | ||
authors: | ||
- Andy Bunce | ||
date: 2023-07-23 | ||
--- | ||
|
||
# Commands | ||
Commands can be invoked from the `command palette` using `F1` or `Ctrl+Shift+P`. | ||
The command title are all prefixed with 'BaseX Tools'. | ||
|
||
|
||
## basexTools.xqParse | ||
BaseX Tools: Parse of XQuery source (xml) editor/title | ||
## basexTools.xqDoc | ||
BaseX Tools: XQdoc of XQuery source (json) editor/title | ||
## basexTools.evaluateXPath | ||
BaseX Tools: Evaluate XPath long title Ctrl+Shift+Alt+X commandPalette | ||
## basexTools.executeXQuery | ||
|
||
BaseX Tools: Execute XQuery using standalone BaseX commandPalette | ||
see [Run XQuery code](xquery/xquery-script-execution.md) | ||
|
||
## basexTools.formatAsXml | ||
BaseX Tools: Format as XML Ctrl+Shift+Alt+B | ||
## basexTools.textToXml | ||
BaseX Tools: Convert text to XML (<> -> <>) | ||
##basexTools.xmlToText | ||
BaseX Tools: Convert XML to text (<> -> <>) | ||
## basexTools.getCurrentXPath | ||
BaseX Tools: Get Current XPath commandPalette | ||
## basexTools.minifyXml | ||
BaseX Tools: Minify XML commandPaletteeditor/context | ||
## basexTools.xqLintReport | ||
BaseX Tools: Analysis of current location in Xquery source commandPalette | ||
## basexTools.clearDiagnostics | ||
BaseX Tools: Clear the XQuery Diagnostics collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: Diagnostics | ||
summary: Debug information | ||
authors: | ||
- Andy Bunce | ||
date: 2023-07-23 | ||
--- | ||
todo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: The VScode BaseX extension | ||
summary: Describes features of the vscode-basex extension | ||
authors: | ||
- Andy Bunce | ||
date: 2023-07-05 | ||
--- | ||
# Welcome to vscode-basex (v0.1) | ||
`vscode-basex` is a [vscode](https://en.wikipedia.org/wiki/Visual_Studio_Code) extension providing support for development using `BaseX`. | ||
[BaseX](https://basex.org) is a Java based XQuery processor. | ||
|
||
!!! warning Status | ||
This extension is "Work in progress". Errors and changes to be expected. | ||
|
||
For information about installing this extension see [here](installation.md). | ||
|
||
## Working with XQuery sources | ||
* [XQuery coding](xquery/) | ||
|
||
## Working with XML sources | ||
* [Formating](xml/xml-formatting.md) | ||
* [Tree view](xml/xml-tree-view.md) | ||
* [XPath evaluation](xml/xpath-evaluation.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Installation guide | ||
summary: How to install vscode-basex. | ||
authors: | ||
- Andy Bunce | ||
date: 2023-05-27 | ||
some_url: https://example.com | ||
--- | ||
|
||
`vscode-basex` is published on [vscode marketplace](https://marketplace.visualstudio.com/items?itemName=quodatum.vscode-basex) | ||
and [open-vsx](https://open-vsx.org/extension/quodatum/vscode-basex). | ||
|
||
Alternatively the `vsix` file can be downloaded from the latest [release](https://github.com/Quodatum/vscode-basex/releases) and manually installed. | ||
|
||
![image](installation.png) | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.