BT

Major IntelliSense Changes Planned for VC++ 10

| by Jonathan Allen Follow 641 Followers on Mar 04, 2008. Estimated reading time: 1 minute |

Major changes are planned for IntelliSense in Visual C++ 10. To begin with, the NCB file will be replaced with a SQL Server Compact database. Currently the entire NCB file needs to be loaded into memory, an expensive proposition in large projects. SQL Server Compact, an in process database, is expected to provide much faster access times and will make it easier to change the file schema in the future.

A new IntelliSense parser is also planned. By default, this parser only scans actual source code files, ignoring any included headers. This will greatly speed up parsing, but will result in a lot of misunderstood code. Hint files containing common macros will help alleviate some of this. Also, when a file is opened in the editor it will be fully parsed including headers.

In the long run the VC++ team is considering options for a shared SQL Server database. Jim Springfield writes,

It would allow you to lookup code that isn’t even on your machine. For example, you could do a “goto definition” in your source and be taken to a file that isn’t even on your machine. This could be integrated with TFS so that the store is automatically updated as code is checked in, potentially even allowing you to query stuff over time. Another idea would be to populate a SQL database with information from a full build of your product. This would include very detailed information (i.e. like a BSC file) but shared among everyone and including all parts of an application. This would be very useful as you could identify all callers of a method when you are about to make a change to it.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
BT