views:

1136

answers:

2

Does anybody here know any free IntelliSense tool available for C++ which is atleast 50% of the features of Visual Assist X (Which of course is not free)? Basically I want my intellisense to work without loading my full workspace/solution? I had seen Visual Assist and it provides this feature.

+5  A: 

Support these guys as they spent considerable time writing this excellent tool and just buy it.

For free alternatives you can check CTags and a plugin for VS.

Marcin Gil
A: 

Paste this into the EnvironmentEvents module in your Visual Studio macros:

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