A VS Code extension template generator creates a starter project repository so you can begin building an extension instead of assembling its files manually. It launches a terminal walkthrough that customizes the generated scaffolding. section 10.3
A typical setup involves:
- Install Node and npm, preferably through a Node version manager, and update VS Code. section 10.3
- Choose JavaScript or TypeScript, provide a name and description, select type-checking and Git options, and choose npm. section 10.3
- Use the generated repository as scaffolding, especially its package.json manifest and extension.js entry point. section 10.3
From Hello World to inline suggestions
The generator produces boilerplate activation code that registers a Hello World command. That placeholder can then be replaced with a VS Code inline completion provider, such as one that sends selected text to an LLM service and returns the response as an editor suggestion.
