Development
vscode-project-init
Initialize a new VS Code Extension project using TypeScript.
Initialize a new VS Code Extension project using TypeScript.
Use this skill when the user wants to start a new VS Code extension project. This is the first step in the development workflow.
# Replace <project-name> with the actual name
npx --package yo --package generator-code -- yo code <project-name> --template typescript --quick
cd <project-name>src/extension.ts: Main entry point.package.json: Manifest file.npm install (if not already done by the generator, though --quick usually handles it).User: "Create a new vscode extension named helper"
Agent:
"I'll initialize the project for you.
Running: npx --package yo --package generator-code -- yo code helper --template typescript --quick
...
Project created! You can now start adding features."
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。