Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
d7238f5d69 [fix] symbols 2022-09-19 20:20:53 +01:00
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
# BaseX Tools for Visual Studio Code # BaseX Tools for Visual Studio Code
This project provides tools to support use of XQuery in BaseX
This project was originally a fork of https://github.com/DotJoshJohnson/vscode-xml This project was originally a fork of https://github.com/DotJoshJohnson/vscode-xml
This extension adds features to support BaseX development on VSCode. This extension adds features to support BaseX development on VSCode.

View file

@ -2,7 +2,7 @@
"name": "vscode-basex", "name": "vscode-basex",
"displayName": "BaseX tools", "displayName": "BaseX tools",
"description": "BaseX tools: XQuery, XML, XPath Tools for Visual Studio Code", "description": "BaseX tools: XQuery, XML, XPath Tools for Visual Studio Code",
"version": "0.0.52", "version": "0.0.53",
"preview": true, "preview": true,
"publisher": "quodatum", "publisher": "quodatum",
"author": "Andy Bunce (https://github.com/Quodatum)", "author": "Andy Bunce (https://github.com/Quodatum)",
@ -15,7 +15,7 @@
"homepage": "https://github.com/Quodatum/vscode-basex", "homepage": "https://github.com/Quodatum/vscode-basex",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/Quodatum/vscode-basex.git" "url": "https://github.com/Quodatum/vscode-basex.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/Quodatum/vscode-basex/issues" "url": "https://github.com/Quodatum/vscode-basex/issues"

View file

@ -42,7 +42,7 @@ export class Symbols implements DocumentSymbolProvider {
vars.children.push(info); vars.children.push(info);
}); });
const funs=makeSymbol("Variables", "", SymbolKind.Function, prolog) const funs=makeSymbol("Functions", "", SymbolKind.Function, prolog)
funs.children=[] funs.children=[]
xqdoc.functions.forEach(v => { xqdoc.functions.forEach(v => {
const name = v.name +"#" + v.params.length; const name = v.name +"#" + v.params.length;