开发者

intellisense for previously declared variables and constants

开发者 https://www.devze.com 2022-12-21 10:17 出处:网络
I am using MSVS C++ Express 2008. Right now my intellisense only works for objects that have methods or argu开发者_开发问答ments in a method. Is it possible to set it where it detects declared constan

I am using MSVS C++ Express 2008. Right now my intellisense only works for objects that have methods or argu开发者_开发问答ments in a method. Is it possible to set it where it detects declared constants and varibles that are within scope. Thanks


It should work when you hover over a constant, or any variable for that matter. It should show you the definition. I'm not sure if there are any feature differences between the Express and "real" versions, but I don't believe so.

Some things to try:

  1. Do a rebuild of the solution.
  2. Restart VS.
  3. There is a file in your solution root directory with an ".ncb" extension. Delete it and restart VS. This forces VS to rebuild the Intellisense database.

Intellisense is notoriously flakey...

0

精彩评论

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