Intelli Sense Cache Path setting not respected
Environment
- OS and Version: Windows 11
- VS Code Version: 1.85.2
- C/C++ Extension Version: v1.18.5
- If using SSH remote, specify OS of remote machine: Ubuntu 18.04
Bug Summary and Steps to Reproduce
Bug Summary:
In Remote setting tab, Intelli Sense Cache Path is set to a folder on another drive but is not used for cache. Instead $HOME/.cache/vscode-cpptools is being used. $HOME/ is a tiny 10 GB NAS mount on my VM and this mount gets full with around 5 GB of intellisense cache.
It is creating a folder called ipch in the Intelli Sense Cache Path I have set but the bulk of the storage is used at $HOME/.cache/vscode-cpptool
Expected behavior: Create the folder vscode-cpptools in the folder specified by Intelli Sense Cache Path.
Configuration and Logs
{
"C_Cpp.intelliSenseCachePath": "/my_dev_config/my_c_intellisense_cache"
}
Other Extensions
No response
Additional context
No response
@vintas For the database .db file you need to also set C_Cpp.default.browse.databaseFilename (e.g. to some folder unique to the workspace, such as ${workspaceFolder}/.vscode/browse.vc.db ) or the equivalent property in c_cpp_properties.json. Does that solve your issue?
This issue has been closed because it needs more information and has not had recent activity.