改变Visual Assist的Cache存放目录

本文介绍了如何更改Visual Assist的符号数据库存储目录,以避免C盘空间被大量缓存文件占用。默认情况下,这些文件位于用户文档和设置下的特定路径。在Windows不同版本中,该路径有所差异。通过在注册表中创建新的字符串值,可以指定自定义的存储路径,从而管理Visual Assist的cache、历史记录和临时文件。要应用更改,必须先关闭所有IDE实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在使用Visual Assist (VC助手)的时候,会在C盘(系统盘)留下很多cache文件,都是以前保存的项目中的解析索引文件,久而久之会越来越大,侵占C盘空间。查了下解决的 办法如下: (根据tomato官方BBS的说法,实测有效)
By default Visual Assist X stores its symbol database in the following directory tree:

Under Windows 2000 and Windows XP:
C:/Documents and Settings/<USERNAME> /Local Settings/Application Data/VisualAssist/

Under Windows Vista:
C:/Users/<USERNAME> /AppData/Local/VisualAssist/

If you are using Visual Assist X 1614 and above then you can tell Visual Assist X to use a different directory by setting the registry key:

HKCU / Software / Whole Tomato / UserDataDir = "C:/new_path/"

You will need to create this String value since Visual Assist X does not create it by default.

Visual Assist X will store the symbol database, history, cache and temporary files in this new directory tree. Simply delete the key to revert back to the default locations for the symbol database.

Note you need to close all instances of the IDE before setting this registry key.

也 就是在注册表中自己加一个项,即可。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值