【问题标题】:Free IntelliSense for C++ in Visual StudioVisual Studio 中用于 C++ 的免费 IntelliSense
【发布时间】:2009-02-04 14:45:24
【问题描述】:

这里有没有人知道任何可用于 C++ 的免费 IntelliSense 工具,它至少具有Visual Assist X 的 50% 的功能(当然不是免费的)?基本上我希望我的智能感知在不加载完整工作区/解决方案的情况下工作?我看过 Visual Assist,它提供了这个功能。

【问题讨论】:

    标签: c++ visual-studio ide intellisense


    【解决方案1】:

    支持这些人,因为他们花了很多时间编写这个出色的工具并购买它。

    对于免费替代品,您可以查看CTagsplugin for VS

    【讨论】:

      【解决方案2】:

      将其粘贴到 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
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-02-27
        • 1970-01-01
        • 2020-09-15
        • 1970-01-01
        • 2022-01-21
        • 2012-07-14
        相关资源
        最近更新 更多