2008-09-25 73 views

回答

4

沒有此註冊表項,以及:[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Languages\Language Services\C/C++]

智能感知ON

"IntellisenseOptions"=dword:00000000 

智能感知OFF

"IntellisenseOptions"=dword:00000007 

智能感知ON - NO後臺更新

"IntellisenseOptions"=dword:00000005 

有更多的標誌可供選擇,您也可以Control Intellisense through Macros

ISENSE_NORMAL = 0  'normal (Intellisense On) 
ISENSE_NOBG = &H1  'no bg parsing (Intellisense Updating Off - although NCB file will be opened r/w and repersisted at shutdown) 
ISENSE_NOQUERY = &H2 'no queries (don't run any ISense queries) 
ISENSE_NCBRO = &H4  'no saving of NCB (must be set before opening NCB, doesn't affect updating or queries, just persisting of NCB) 
ISENSE_OFF = &H7  
5

在項目屬性,你會發現在瀏覽信息:

配置屬性 - > C/C++ - >瀏覽信息

只要告訴它不要生成瀏覽信息。它所使用的所有功能都是在代碼組件之間快速瀏覽(如使用「轉到定義」)等等。我個人喜歡能夠在組件之間快速跳轉,但是如果它增加了不必要的時間來編譯,請不要擔心關閉它。

+0

這不是控制BSC文件嗎?我不認爲它用於NCB文件。 – Adisak 2009-12-15 22:37:43

2

嘗試創建一個與ncb文件具有相同名稱的文件夾(當然,您將不得不刪除該文件)。過去我使用這個技巧來防止智能感應鎖定VS2005。不過,你會失去智能感知。

+0

創建一個只讀的0字節文件也是可行的(至少在VS2005中) – 2008-09-26 00:03:36