13 lines · typescript
1import * as vscode from 'vscode';2 3import {MLIRContext} from '../mlirContext';4import {ViewPDLLCommand} from './commands/viewOutput';5 6/**7 * Register the necessary extensions for supporting PDLL.8 */9export function registerPDLLExtensions(context: vscode.ExtensionContext,10 mlirContext: MLIRContext) {11 context.subscriptions.push(new ViewPDLLCommand(mlirContext));12}13