microsoft / microsoft/vscode-cpptools

Select default compiler should include the currently selected compiler if it is not listed elsewhere

Aperta
#12,098 4 commenti 1 reazione 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug Feature: Configuration Language Service
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

Environment

In this discussion, a user is trying to configure a compiler that is installed by extracting a zip folder. The compiler is not in any of the paths we know about, but they managed to set it another way. If they run the Select Default Compiler or Select IntelliSense Configuration commands, the currently selected compiler does not appear in the list because it's not one we've scanned ourselves. We should include the currently selected compiler in the list if it is not already present in the drop down, or maybe just always show the currently selected compiler at the top of the list.

#12069

Bug Summary and Steps to Reproduce
  • Install Mingw to c:\folderWithRandomName
  • Set this compiler in c_cpp_properties.json
  • Run the Select IntelliSense Configuration or the Select Default Compiler command

Notice that the currently selected compiler is not in the list. If it's the currently selected compiler (and it's valid), we should show it in the list.

Configuration and Logs
n/a
Other Extensions

No response

Additional context

No response

Guida per i contributori

Apri la guida per i contributori

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.