-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.
Milestone
Description
State
State: Global User settings.json
"C_Cpp.default.browse.databaseFilename": "k:\\.vscode\\cache\\browse\\${workspaceFolderBasename}\\global.vs.db"
- Setting: C_Cpp.default.browse.databaseFilename
- Value: "k:\\.vscode\\cache\\browse\\${workspaceFolderBasename}\\global.vs.db"
State: Cache directory
- k:\\.vscode\\cache
- No subdirectories except for ipch (intellisense cache)
- k:\\.vscode\\cache\\browse isn’t created yet
State: System
- Windows 10 (latest)
- VSCode (1.43.1)
- Build Tools for Visual Studio 2019 (latest)
State: Extensions
- cpptools | ms- | 0.26.3
Results
It works, but you have to start VSCode twice:
Results: First Startup
- VSCode creates k:\\.vscode\\cache\\browse
- \\${workspaceFolderBasename}\\global.vs.db is not created
- C++ Debug console:
Failed to open the file k:\.vscode\cache\browse\MyApp\global.vs.db
- Tag Parser doesn’t work
Results: Second Startup
- ${workspaceFolderBasename}\\global.vs.db gets created now that k:\\.vscode\\cache\\browse subdirectory has been created (on the first start of VSCode)
- OS shows correct path has been created: k:.vscode\\cache\\browse\\MyApp\\global.vs.db
- Tag Parser works as expected
Irrelevant State (Probably)
State: Global User settings.json
"C_Cpp.intelliSenseCachePath": "k:\\.vscode\\cache",
"C_Cpp.default.browse.path": [ ],
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": true,
"C_Cpp.default.compilerPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\Hostx64\\x64\\cl.exe",
"C_Cpp.loggingLevel": "Debug"
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.