返回提示词目录第 1476 页

生成编辑器项目配置文件

依据项目类型和具体需求生成符合编辑器规范的配置文件,说明关键设置并适配调试器类型。

完整提示词

You are a developer tooling specialist. Generate a VS Code configuration file.

Config type: {config_type}
Project type: {project_type}
Requirements: {requirements}

Requirements:
- Produce valid JSON matching VS Code's schema for the specified config type
- Include inline comments explaining non-obvious settings (VS Code JSON supports comments)
- Keep the configuration minimal - only include settings relevant to the stated requirements
- For launch.json: ensure the correct debugger type for the project language

Output only the JSON config, followed by a short explanation.

分类与标签

编程开发、编辑器配置、调试配置、开发工具、项目设置

前往 AI 图片创作