vscode-xml icon indicating copy to clipboard operation
vscode-xml copied to clipboard

XPath results: nodes with clickable links

Open andbue opened this issue 4 years ago • 0 comments

Description It would be great if we could directly jump from the XPath query results to the position of the document.

Suggestion In evaluateXPath, line 76:

outputChannel.appendLine(`[Position ${editor.document.uri}:${node.lineNumber}:${node.columnNumber}] ${node.localName}: ${node.textContent}`);

–> Produces the desired result, at least on Linux (should be tested on other OS, there might be some qirks according to https://github.com/microsoft/vscode/issues/586).

andbue avatar Apr 06 '20 13:04 andbue