<commit_before>import * as vscode from 'vscode';
import * as commands from './commands';

function register(context: vscode.ExtensionContext, name: string) {

    const controller = commands[name];
    const disposable = vscode.commands.registerCommand(`extension.${name}`, controller);
    
    context.subscriptions.push(disposable);
}


export function activate(context: vscode.ExtensionContext) {
    
    register(context, 'moveFile');
    register(context, 'renameFile');
    register(context, 'duplicateFile');
    register(context, 'removeFile');
    register(context, 'newFile');
    register(context, 'newFileAtRoot');
    register(context, 'newFolder');
    register(context, 'newFolderAtRoot');

}<commit_msg>Update index.ts<commit_after>import * as vscode from 'vscode';
import * as commands from './commands';

function register(context: vscode.ExtensionContext, name: string) {

    const controller = commands[name];
    const disposable = vscode.commands.registerCommand(`extension.${name}`, controller);
    
    context.subscriptions.push(disposable);
}

export function activate(context: vscode.ExtensionContext) {
    
    register(context, 'moveFile');
    register(context, 'renameFile');
    register(context, 'duplicateFile');
    register(context, 'removeFile');
    register(context, 'newFile');
    register(context, 'newFileAtRoot');
    register(context, 'newFolder');
    register(context, 'newFolderAtRoot');

}
{'fraction_non_alphanumeric': 0.13513513513513514, 'fraction_numerical': 0.0, 'mean_word_length': 5.067226890756302, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1965887', 'n_tokens_mistral': 413, 'n_tokens_neox': 406, 'n_words': 87}