IntelliSense screwed up in a single project
-
Well, this is really a strange problem. After a stupid PC crash, one of my projects (and really only that one which was active) lost most of the IntelliSense functionality. In a very few cases, it still shows up, but especially when showing the members of MFC classes it stops working. I tried everything possible, from creating a new solution (so even the options were completely fresh, but when I copied my source code over, it just stopped working again) to testing if a new (or an other old project) would work - and yes, they work. So it's just this single project. Creating a new project doesn't help, as soon as I add my source files to it, IntelliSense stops to work. And I only copied the source files, not the project files, the .ncb file or anything else (and no, deleting the .ncb file doesn't help). I wonder if anyone knows this problem...
-
Well, this is really a strange problem. After a stupid PC crash, one of my projects (and really only that one which was active) lost most of the IntelliSense functionality. In a very few cases, it still shows up, but especially when showing the members of MFC classes it stops working. I tried everything possible, from creating a new solution (so even the options were completely fresh, but when I copied my source code over, it just stopped working again) to testing if a new (or an other old project) would work - and yes, they work. So it's just this single project. Creating a new project doesn't help, as soon as I add my source files to it, IntelliSense stops to work. And I only copied the source files, not the project files, the .ncb file or anything else (and no, deleting the .ncb file doesn't help). I wonder if anyone knows this problem...
Go into the project folder and try deleting the .ncb file. Open your project and give it some time to rebuild the IntelliSense database. That should work for you.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
-
Go into the project folder and try deleting the .ncb file. Open your project and give it some time to rebuild the IntelliSense database. That should work for you.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
I did that, and it didn't help... but anyway, I found the problem and solved it.
-
I did that, and it didn't help... but anyway, I found the problem and solved it.
Care to share? Posting solutions to problems in the forum help future viewers (if they think to search first). Plus a lot of this stuff shows up on the search engines, so you can help a lot more than just this CP community.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
-
Care to share? Posting solutions to problems in the forum help future viewers (if they think to search first). Plus a lot of this stuff shows up on the search engines, so you can help a lot more than just this CP community.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
Well, the "solution" won't help anyone, since it just was one file that seemed to confuse VS so that IntelliSense refused to work. Removing the (really crappy formatted and bloated) file solved it.