MCPcopy Create free account
hub / github.com/Snapchat/Valdi / registerNpmScriptLens

Function registerNpmScriptLens

valdi/vscode_debugger/src/ui/npmScriptLens.ts:159–172  ·  view source on GitHub ↗
(context: ExtensionContext)

Source from the content-addressed store, hash-verified

157}
158
159export const registerNpmScriptLens = (context: ExtensionContext) => {
160 const provider = new NpmScriptLenProvider();
161
162 context.subscriptions.push(provider);
163 context.subscriptions.push(
164 languages.registerCodeLensProvider(
165 {
166 language: 'json',
167 pattern: '**/package.json',
168 },
169 provider,
170 ),
171 );
172};

Callers 1

activateFunction · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected