Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Scope InfoNew to Visual Studio Code? Get it now.
Scope Info

Scope Info

siegebell

|
4,067 installs
| (4) | Free
Displays the TextMate scope when you hover over text.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Scope Info

An extension for vscode that provides TextMate scope information.

For users

To view the TextMate scope information of your code, run scope-info: enable hover information; to disable, run scope-info: disable hover information.

For extension authors

This extension provides an API by which your extension can query scope & token information. Refer to api.ts and extension.test.ts for more details. Example usage:

import * as api from 'api';
let doc : vscode.TextDocument;
const siExt = vscode.extensions.getExtension<api.ScopeInfoAPI>('siegebell.scope-info');
si = await siExt.activate();
const t1 : api.Token = si.getScopeAt(doc, new vscode.Position(0,2));
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft