Remove VSCode template extension boilerplate

finchie
Nov 30, 2025, 6:39 AM
NE2HVJTRBUIUN3T56CJTB6KBHLDFP4HDYYQUHNFG6DZO6RTSPKIAC

Dependencies

  • [2] WFWTKCJN Create initial Visual Studio Code extension

Change contents

  • edit in extensions/vscode/src/extension.ts at line 1
    [2.121092][2.121093:121234]()
    // The module 'vscode' contains the VS Code extensibility API
    // Import the module and reference it with the alias vscode in your code below
  • edit in extensions/vscode/src/extension.ts at line 4
    [2.121318][2.121318:121451]()
    // This method is called when your extension is activated
    // Your extension is activated the very first time the command is executed
  • replacement in extensions/vscode/src/extension.ts at line 5
    [2.121512][2.121512:121768]()
    // Use the console to output diagnostic information (console.log) and errors (console.error)
    // This line of code will only be executed once when your extension is activated
    console.log('Congratulations, your extension "pijul-vscode" is now active!');
    [2.121512]
    [2.121768]
    // The native module can't import the VSCode API itself, so pass it through here
  • edit in extensions/vscode/src/extension.ts at line 7
    [2.121809][2.121809:122353]()
    // The command has been defined in the package.json file
    // Now provide the implementation of the command with registerCommand
    // The commandId parameter must match the command field in package.json
    const disposable = vscode.commands.registerCommand(
    "pijul-vscode.helloWorld",
    () => {
    // The code you place here will be executed every time your command is executed
    // Display a message box to the user
    vscode.window.showInformationMessage("Hello World from pijul-vscode!");
    },
    );
    context.subscriptions.push(disposable);
  • edit in extensions/vscode/src/extension.ts at line 9
    [2.122356][2.122356:122416]()
    // This method is called when your extension is deactivated
  • edit in extensions/vscode/package.json at line 75
    [2.174763][2.174763:174863]()
    }
    ],
    "commands": [
    {
    "command": "pijul-vscode.helloWorld",
    "title": "Hello World"