Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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".

like image 931
yProgrammer Avatar asked Aug 30 '10 16:08

yProgrammer


1 Answers

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

like image 186
Hans Passant Avatar answered Nov 10 '22 00:11

Hans Passant