A meta-extension for vscode that provides TextMate scope information. Its intended usage is as a library for other extensions to query scope information.
This extension provides an API by which your extension can query scope & token
information. Refer to hscopes.d.ts
and extension.test.ts
for more details.
Example usage:
import * as vscode from 'vscode';
async function example(doc : vscode.TextDocument, pos: vscode.Position) : void {
const hs = vscode.extensions.getExtension('draivin.hscopes');
const token : scopeInfo.Token = hs.getScopeAt(doc, pos);
}