microsoft / microsoft/vscode-cpptools
'Update code model for cpptools Error' after disable cpptools's IntelliSense
Aperta
Nessuno ha ancora preso questa issue.
bug
Language Service
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
Brief Issue Summary
After update cpptools to 1.7.0(IntelliSense has been disable), Update code model for cpptools Error log will show when configure.
Debug Log
[main] Safe constructing new CMakeTools instance
[variant] Constructing VariantManager
[main] Constructing new CMakeTools instance
[main] Starting CMakeTools second-phase init
[variant] Loaded new set of variants
[main] CMakeTools instance initialization complete.
[kit] Reading kits file xxxxxx\cmake-tools-kits.json
[kit] Successfully loaded 8 kits from xxxxxx\cmake-tools-kits.json
[kit] Not reading non-existent kits file: xxxxxx\cmake-kits.json
[main] Injecting new Kit into CMake driver
[extension] Using cache to configure workspace on open file:///xxxxxx
[main] Starting new CMake driver
[main] Starting CMake driver
[main] Using generator from user configuration: Ninja
[cmakefileapi-driver] Creating instance of CMakeFileApiDriver
[driver] Initializating base driver using kit
[driver] CMakeDriver Kit set to Visual Studio Community 2019 Release - amd64
[kit] OK running xxxxxx\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat x64, env vars:xxxxxx
[driver] Run _refreshExpansions
[driver] Run _refreshExpansions cb
[cache] Reading CMake cache file xxxxxx/build/Debug/CMakeCache.txt
[cache] Parsing CMake cache string
[cache] Reading CMake cache file xxxxxx/CMakeCache.txt
[cache] Parsing CMake cache string
[cmakefileapi-parser] Read reply folder: xxxxxx\build\Debug\.cmake\api\v1\reply
[cmakefileapi-parser] Found index files: ["cache-v2-d94fb1ac8145deee2684.json","codemodel-v2-19b47e44f6078814bb45.json","index-2021-09-18T11-56-26-0823.json","target-Utils-Debug-ae79c13cc81fa1e0ac66.json","target-UtilsTest-Debug-025563727d3d9d72a9cc.json"]
[cmakefileapi-driver] This version of CMake does not support the "toolchains" object kind. Compiler paths will be determined by reading CMakeCache.txt.
[driver] Setting new variant Debug
[driver] Run _refreshExpansions
[driver] Run _refreshExpansions cb
[driver] Run _refreshExpansions
[driver] Run _refreshExpansions cb
[driver] Use cached configuration
[driver] Runnnig pre-configure checks and steps
[driver] Run _refreshExpansions
[driver] Run _refreshExpansions cb
[cmakefileapi-parser] Read reply folder: xxxxxx\build\Debug\.cmake\api\v1\reply
[cmakefileapi-parser] Found index files: ["cache-v2-d94fb1ac8145deee2684.json","codemodel-v2-19b47e44f6078814bb45.json","index-2021-09-18T11-56-26-0823.json","target-Utils-Debug-ae79c13cc81fa1e0ac66.json","target-UtilsTest-Debug-025563727d3d9d72a9cc.json"]
[cache] Reading CMake cache file xxxxxx/build/Debug/CMakeCache.txt
[cache] Parsing CMake cache string
[cache] Reading CMake cache file xxxxxx/build/Debug/CMakeCache.txt
[cache] Parsing CMake cache string
[rollbar] Unhandled exception: Unhandled Promise rejection: Update code model for cpptools Error: Do not activate the extension when IntelliSense is disabled. {}
[rollbar] Unhandled exception: Unhandled Promise rejection: Update code model for cpptools Error: Do not activate the extension when IntelliSense is disabled. {}
[cache] Reading CMake cache file xxxxxx/build/Debug/CMakeCache.txt
[cache] Parsing CMake cache string
[rollbar] Unhandled exception: Unhandled Promise rejection: Update code model for cpptools Error: Do not activate the extension when IntelliSense is disabled. {}
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 cercando l'errore "Update code model for cpptools" e il percorso di aggiornamento del modello di codice nell'estensione TypeScript per VS Code. Riproduci la configurazione con cpptools 1.7.0 e IntelliSense disabilitato usando il modello di log fornito; l'attività è completata quando la configurazione non emette più l'errore non gestito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cmake, typescript, vscode
- Ambito
- build-system, devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100