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

Ouverte
#14,863 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript, vscode

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
6.2k
Forks
1.7k
Merge moyen
1 j 17 h
PR mergées (30 j)
12

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de microsoft/vscode-cpptools

Toutes les issues de microsoft/vscode-cpptools

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.