如何改变Visual Assist数据库文件路径(How do I change where VA stores its database?)
来源:互联网 发布:银行家算法代码 编辑:程序博客网 时间:2024/05/18 21:07
原文链接
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\
For VS2010 under Windows XP:
C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist X\
Under Windows Vista:
C:\Users\%USERNAME%\AppData\Local\VisualAssist\
For VS2010 under Windows Vista, Windows 7 and Windows 8 either:
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Software\Visual Assist X\
or
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\hashed name\Data\
For VS2012 under Windows 7 and Windows 8:
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\hashed name\Data\
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.
In Visual Assist X 1862 and above you can use Environment Variables in this path, so long as you use a REG_EXPAND_SZ registry value (Expandable String Value).
For example you could use "C:\%USERNAME%\new_path\"
Please note that environment variables are not supported if you use a REG_SZ (String Value).
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.
C盘空间越来越小了,检查一下发现VSA又囤积好几G的数据库文件。但是记得之前修改过路径了,看来新版VSA无效了,到官方论坛找了一下,找到这个。只要修改原来 REG_SZ 为 REG_EXPAND_SZ 就可以了。
- 如何改变Visual Assist数据库文件路径(How do I change where VA stores its database?)
- How do I release sql express database?
- How do I autosize a button to fit its text
- Visual Assist X_ va snippets功能简介
- Visual Assist X_ va snippets功能简介
- VA:Visual Assist X 函数注释宏
- visual assist x(VA)破解方法
- va visual assist 常用的几个功能
- LINUX COMMANDS--How Do I Change my Linux Password?
- How do I change the default runlevel in Feodra 15?
- 变化太快,how can I do and change it?
- How do I set or change the PATH system variable?
- Visual Studio (VS)和Visual Assist X(VA)快捷键
- How Do I Enable Remote Access To MySQL Database Server?
- where do i belong
- Where do I belong
- where do I turn?
- iOS点滴-How do I size a UITextView to its content?
- 开发笔记 那些年追过的图片(二): 读取相册里的图片 和 拍摄获取照片
- Android 检测目录是否存在,不存在则创建
- spring mvc上传文件Processing of multipart/form-data request failed
- linux内核源码阅读之facebook硬盘加速利器flashcache之初
- MapReduce调度与执行原理之任务调度
- 如何改变Visual Assist数据库文件路径(How do I change where VA stores its database?)
- Eclipse调试Java的10个技巧
- oracle小记之修改字符集解决中文乱码
- warning: ISO C forbids an empty translation unit [-pedantic]
- C/C++学习笔记(三)
- js 打印
- Highstock配置
- Boost库学习----timer
- CRtmpServer设置拉流