为* .cl,*.cu和* .cuh关闭VisualAssist [英] Turn off VisualAssist for *.cl, *.cu and *.cuh
问题描述
如何在Visual Studio 2010中定义受VisualAssist影响的文件类型?
How can I define which filetypes are affected by VisualAssist in Visual Studio 2010?
例如,我不喜欢此工具与openCL和cuda文件一起使用的方式,因此我想针对这些文件类型将其关闭(否则,它会突出显示1000个错误).
For example, I don't like how this tool works with openCL and cuda files, therefore I would like to turn off it for these file types (oherwise it highlights 1000 errors).
推荐答案
Visual Assist不会在VS2010中的C/C ++文件中强调错误-这是默认的intellisense完成的.您可以禁用下划线,但不能基于每个文件的扩展名;它全有还是全无.参见Tools | Options | Text Editor | C/C++ | Advanced | Disable Squiggles
.
Visual Assist does not underline errors in C/C++ files in VS2010 - that is done by the default intellisense. You can disable underlining but not on a per-file extension basis; it is all or nothing. See Tools | Options | Text Editor | C/C++ | Advanced | Disable Squiggles
.
这篇关于为* .cl,*.cu和* .cuh关闭VisualAssist的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!