We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Tree doesn't exist
1 parent f977610 commit 8bf3530Copy full SHA for 8bf3530
1 file changed
src/TreeSitter.ts
@@ -28,9 +28,7 @@ export function getTrees(source: vscode.TextDocument | vscode.Uri): trees {
28
return docTrees;
29
}
30
31
- vscode.window.showInformationMessage(JSON.stringify("TextMate: TS Tree does not exist!"));
32
- vscode.window.showInformationMessage(JSON.stringify(source));
33
- vscode.window.showInformationMessage(JSON.stringify(trees));
+ vscode.window.showInformationMessage(`TextMate: TreeSitter Tree does not exist!\nFile:\n${JSON.stringify(source)}\nTrees:\n${JSON.stringify(trees)}`);
34
35
36
export function getRegexNode(source: vscode.TextDocument | vscode.Uri | trees | trees["regexTrees"], node: Parser.SyntaxNode | number): Parser.SyntaxNode {
0 commit comments