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

Đang mở
#14,863 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript, vscode
Lĩnh vực
developer-experience

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
6.2k
Fork
1.7k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/vscode-cpptools

Tất cả issue của microsoft/vscode-cpptools

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.