microsoft / microsoft/vscode-cpptools
Show some better UI hint that a compiler is not available from the dropdown of Debug C/C++ file due to a debugger being missing
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
Via the Debug C/C++ file button I see cl.exe and LLVM clang, but not mingw g++. I see it being added as a known compiler in the TypeScript debugger, but then something is causing it to not get used when it seems like it should be.
UPDATE: I didn't notice the logging logger.getOutputChannelLogger().appendLine(localize('debugger.path.not.exists', "Unable to find the {0} debugger. The debug configuration for {1} is ignored.", "${debuggerName}", compilerName)); -- maybe an "info/hint" entry could be added to the quick pick showing that g++ is potentially available if the user were to install the missing gdb.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dal Debug C/C++ file quick pick e segui la gestione del debugger TypeScript relativa al messaggio del logger menzionato debugger.path.not.exists. Definisci il suggerimento mostrato quando a un compilatore noto, come mingw g++, manca gdb, e verifica che il dropdown spieghi perché il compilatore non è disponibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, typescript
- Ambito
- developer-experience, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100