문제

I'm working on a C++ project with VS2013 Express and I'm having a problem with syntax highlighting.

It's a pretty low-level embedded project, so I'm working with some stdint.h types such as uint8_t and uint16_t fairly regularly. Visual Studio won't highlight these types by default, so I created some user keywords for the types I'm using all over the place.

My problem is that Visual Studio only seems to highlight the keywords in certain contexts. Here's a link to what it looks like.

enter image description here

Visual Studio has no problems highlighting the keywords in the global scope of my file, but inside the function definition and function body the keywords are no longer highlighted.

Is there any workaround for this? The Font and Colors configuration in Visual Studio's options seem to be as language-neutral as possible and have no mention of scoping, and none of the C/C++ options seem to address this. Thanks.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top