本文主要是介绍改变Visual Assist的Cache存放目录,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在使用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.
也就是在注册表中自己加一个项,即可。
这篇关于改变Visual Assist的Cache存放目录的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!