Visual Studio中的C++免费IntelliSense
问题描述:
有没有人知道任何可用于C++的免费IntelliSense工具,它至少是Visual Assist X(当然不是免费的)功能的50%?基本上我想让我的智能感知工作而不加载我的完整工作空间/解决方案?我见过Visual Assist,它提供了这个功能。Visual Studio中的C++免费IntelliSense
答
粘贴到你的Visual Studio宏EnvironmentEvents模块这样的:
Dim curWord As String
Private Sub TextDocumentKeyPressEvents_AfterKeyPress(ByVal Keypress As String, ByVal Selection As EnvDTE.TextSelection, ByVal InStatementCompletion As Boolean) Handles TextDocumentKeyPressEvents.AfterKeyPress
If (InStr("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_", Keypress)) Then
curWord = curWord + Keypress
If (curWord.Length > 2) Then
'AutoCompleteFromFile()
curWord = ""
DTE.ExecuteCommand("Edit.CompleteWord")
End If
Else
curWord = ""
End If
End Sub
30天试用版) – 2009-02-04 14:54:44