src/extension.ts
Function start
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function start(context: ExtensionContext, connectFn: Connect) {
function registerCommand(command: string, callback: (...args: any[]) => any, thisArg?: any): Disposable {
const registeredCommand: Disposable = commands.registerCommand(command, callback);
context.subscriptions.push(registeredCommand);