【问题标题】:How to use cscope in Visual Studio?如何在 Visual Studio 中使用 cscope?
【发布时间】:2010-05-19 14:50:48
【问题描述】:

我是第一次使用 Visual Studio(2008 版)。习惯在 Unix 环境下编程,我已经很习惯 cscope 和 vim。对于我目前的项目,我真的需要 cscope。我想知道是否有任何方法可以在 Visual Studio 上使用 cscope - 或在 Windows 中使用 cscope。或者如果有其他工具可以完成这项工作..

谢谢
拉胡尔

【问题讨论】:

  • 您需要cscope的哪些具体功能?查看 cscope 的功能列表,它看起来大部分都内置在 Visual Studio 中。
  • 我正在为 Winamp 编写一个插件 - 因此我需要在 Winamp SDK 中查找函数。 (我需要 cscope 的最低使用量)。如何在 Visual Studio 中实现这一点?例如,假设有一个名为 DoMagic() 的函数——它是在 API 中的某个地方定义的——我不知道在哪里。使用 cscope,我可以搜索 SDK 中的所有文件 - 这就是我想要使用 Visual Studio 执行的操作。

标签: visual-studio-2008 cscope


【解决方案1】:

你可以试试windows版本的cscope。

就 Visual Studio 而言,我还没有见过像 cscope 这样强大的东西。

顺便问下好问题。

【讨论】:

    【解决方案2】:

    我发现在 Windows 上安装 cscope 的唯一方法是 cygwin 中的 mlcscope 包。有了这个,你就可以use vim with Visual Studio

    就在 Visual Studio 中查找 API 函数而言,您应该能够将标头添加到您的项目中,以便它们被 Intellisense 索引。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-01
      • 2020-02-05
      • 2023-03-19
      • 2016-02-05
      • 2016-04-17
      • 2012-05-18
      • 1970-01-01
      相关资源
      最近更新 更多