Skip to content

Commit

Permalink
Fix CallStack popups
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Sep 7, 2024
1 parent 062f665 commit b986cae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextMate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function getInjections(scopeName: ScopeName): ScopeName[] | undefined {
}

if (injections.length) {
vscode.window.showInformationMessage(`injections:\n${JSON.stringify(injections)}`);
// vscode.window.showInformationMessage(`injections:\n${JSON.stringify(injections)}`);
return injections;
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export function stringify(this: any, key: string, value: any) {
return null;
}
if (value instanceof Map) {
if (key == "_grammars") {
return Array.from(value.keys());
}
return Array.from(value.entries());
}
if (key.startsWith("HEAP")) {
Expand Down

0 comments on commit b986cae

Please sign in to comment.