Skip to content

draivin/hscopes

Repository files navigation

HyperScopes

A meta-extension for vscode that provides TextMate scope information. Its intended usage is as a library for other extensions to query scope information.

Usage

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);
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published