Show the source of the active compilerPath in C/C++ configuration

未关闭
#14,863 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript, vscode

调研方向

Start by tracing how the extension resolves compilerPath from user and workspace settings, c_cpp_properties.json, and configuration providers. The issue does not name files or tests, so first locate those entry points and check how configuration sources are surfaced in the UI. Done means users can identify the active source and understand when multiple compiler path settings are configured.

由索引模型根据 Issue 内容生成。

描述

Feature Request
Is your feature request related to a problem?

When configuring the C/C++ extension, users may set different compiler paths in settings.json and c_cpp_properties.json.

It can be confusing for beginners to understand which setting is currently being used by IntelliSense, especially when the paths are different.

Describe the solution you'd like

I would like the C/C++ extension to display the source of the active compilerPath more clearly.

For example, the extension could show whether the active compiler path comes from:

  • User Settings (C_Cpp.default.compilerPath)
  • Workspace Settings
  • c_cpp_properties.json
  • A configuration provider

It would also be helpful to display a short explanation when multiple compiler path settings are configured.

Why is this feature useful?

This feature would help users understand their C/C++ configuration more easily, reduce confusion when troubleshooting IntelliSense, and make the extension more beginner-friendly.

主要语言
TypeScript
星标
6.2k
派生
1.7k
平均合并
1 天 17 小时
30 天内合并 PR
12

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/vscode-cpptools 的其他 Issue

查看 microsoft/vscode-cpptools 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。