美文网首页
VC2017右键函数不能转到定义

VC2017右键函数不能转到定义

作者: GoodTekken | 来源:发表于2020-09-23 16:21 被阅读0次
    图1.png

    解决方法:
    https://stackoverflow.com/questions/25898616/visual-studio-go-to-definition-disabled-or-gray-out?answertab=votes#tab-top

    • 方法一:
      1.Close the solution.
      2.Delete the intellisense database file for the solution: [solution].ncb or [solution].suo
      3.Reopen the solution.
      4.Optional: Rebuild the solution.

    • 方法二
      In Tools - Options, type "IntelliSense" into the search box, and click on C/C++ - Advanced. In the Browsing/Navigation section, change Disable Database to False, if it is not so already.


      image.png

    After re-enabling, close and reopen to force rebuild. NOTE: IntelliSense will produce large files on disk (*.sdf and ipch) that should be excluded from Git, for example.

    相关文章

      网友评论

          本文标题:VC2017右键函数不能转到定义

          本文链接:https://www.haomeiwen.com/subject/ftsoyktx.html