"Configure your IntelliSense settings" displays on startup with file already open, if using a custom config provider
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- cpp, typescript, vscode
- Ambito
- developer-experience, tooling
Direzione di ricerca
Inizia con la gestione all’avvio di un file .cpp già aperto, la registrazione di un provider di configurazione personalizzato e il prompt "Configure your IntelliSense settings". Riproduci la sequenza nell’issue, quindi verifica che il prompt sia assente dopo la registrazione della configurazione personalizzata, quando non rimane alcun problema di header mancante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Repro steps:
- Use a workspace folder configured using a custom configuration provider.
- Leave a .cpp file open when the workspace folder was last used.
- Open that workspace folder.
Seeing:

Note that there are no 'problems' here to resolve.
Expected: No prompt to fix my missing headers when there are none missing.
This is likely happening for everyone who use custom configuration providers (including those who are automatically configured to use one), any time they open a workspace folder that already has a .cpp file open.
When cpptools starts up, there is a brief period of time in which the custom configuration would not yet be registered. Rather than wait for it to register, a TU is started (for the already open file in the editor) with the base configuration, which likely will not be a proper configuration for the file. Moments later, as the custom configuration provider registers, the TU is recreated, and any transient errors are cleared out. Yet, this dialog is still displayed.
One possible solution would be to delay this dialog until a certain amount of time after start-up, and not display it if whatever issue that triggered it has already been resolved.
Ideally, we could remove this prompt whenever we see that there is no longer any such issue to address. If it's not possible to programmatically dismiss the dialog, perhaps we should open a feature request for that against VS Code.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
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.
Altre issue di microsoft/vscode-cpptools
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Apertabug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 assegnatario ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 commento · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
microsoft/vscode-cpptools#14769 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
microsoft/vscode-cpptools#14768 · 1 commento ·
Tutte le issue di microsoft/vscode-cpptools
Issue simili
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
-
code-quality refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
langchain-ai/deepagents#6450 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
vercel/react-tweet#225 ·