开发者

Switch off highlighting "event" keyword in Visual C++

开发者 https://www.devze.com 2023-01-14 07:52 出处:网络
I have question: How to switch off highlight keyword \"event\" in Visual C++ 2010? I don\'t use .net , so for me it isn\'t keyword, and I 开发者_开发问答would call it one variable \"event\".This is a

I have question: How to switch off highlight keyword "event" in Visual C++ 2010? I don't use .net , so for me it isn't keyword, and I 开发者_开发问答would call it one variable "event".


This is a side-effect of the C++/CLI language supported by the IDE. Where event is a keyword. There are others, like gcnew, generic, array, etc. Syntax highlighting is based on the file name extension and C++/CLI also uses .cpp.

I can't think of an easy fix. I'd recommend you post feedback to connect.microsoft.com


Unfortunately there is no way to do this. This is hard coded to be a keyword in Visual Studio's C++ editor and cannot be changed. It's the equivalent of saying "Please stop highlighting class"

0

精彩评论

暂无评论...
验证码 换一张
取 消