简体   繁体   English

Visual Studio中的免费IntelliSense for C ++

[英]Free IntelliSense for C++ in Visual Studio

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)? 有没有人知道任何可用于C ++的免费IntelliSense工具,它至少是Visual Assist X功能的50%(当然不是免费的)? Basically I want my intellisense to work without loading my full workspace/solution? 基本上我希望我的intellisense工作而不加载我的完整工作区/解决方案? I had seen Visual Assist and it provides this feature. 我见过Visual Assist,它提供了这个功能。

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 . 对于免费替代品,您可以检查CTagsVS插件

Paste this into the EnvironmentEvents module in your Visual Studio macros: 将其粘贴到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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM