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

Aperta
#14,863 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript, vscode

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
1g 17h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/vscode-cpptools

Tutte le issue di microsoft/vscode-cpptools

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.