DeveloperBreeze

Tutorials Programming Tutorials, Guides & Best Practices

Explore 149+ expertly crafted tutorials tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

Building a Custom VS Code Extension: Supercharge Your Workflow

Tutorial August 20, 2024
javascript typescript

"contributes": {
    "commands": [
        {
            "command": "extension.showHelloWorld",
            "title": "Show Hello World"
        }
    ],
    "configuration": {
        "type": "object",
        "title": "My VS Code Extension",
        "properties": {
            "myExtension.greeting": {
                "type": "string",
                "default": "Hello, World!",
                "description": "The greeting message to display"
            }
        }
    }
}

Next, update the command in extension.ts to read the setting value: