[英]Visual Studio doesn't highlight later defined macros
#define L M + 1
#define M 1
#define N M + 2
I'm using Visual Studio 2019. There is no problem compiling the code, but M
in the first line is black in the editor, and the "Go To Definition" function doesn't work too.我用的是Visual Studio 2019,编译代码没有问题,但是第一行的
M
在编辑器中是黑色的,“Go To Definition”function也不起作用。
Is this just a bug or is there an option to fix it?这只是一个错误还是有修复它的选项?
I found it's maybe just a problem of intelllisense, because when I turn it off, "Peek Definition", "Go To Definition" and "Go To Declaration" all of them work as expected.我发现这可能只是智能感知的问题,因为当我关闭它时,“Peek Definition”、“Go To Definition”和“Go To Declaration”都按预期工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.