c++ - VS 代码 : cannot jump between header file and related cpp file

标签 c++ visual-studio-code

我在 Linux 中有一个很大的 C++ 项目。我尝试使用远程 ssh 在 Windows 的 VS 代码中打开这个项目。项目加载后,发现无法在头文件和相关的cpp文件之间跳转,也无法跳转到变量定义或实现。

而且我已经安装了 extension c/c++,switcher。但是我发现右键单击一个变量,它只有以下功能。谁知道怎么修它?这是第一次使用 VS 代码。谢谢!

enter image description here

最佳答案

您是否在远程服务器上安装了此扩展:

enter image description here

关于c++ - VS 代码 : cannot jump between header file and related cpp file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65507963/

相关文章:

c++ - 如何将具有多个空字符的字符串复制到字符串流?

c++ - 使用gdb调试时如何解决VS Code中: "launch : program "executable. out"does not exist"

node.js - 错误 TS2430 : Interface 'WebGLRenderingContext' incorrectly extends interface 'WebGLRenderingContextBase'

node.js - Visual Studio Code 缩进配置和 EditorConfig?

c++ - 删除动态数组时会发生什么?

c++ - Linux中 "write"函数的问题

c++ - 如何在 Linux 上使用 polkit 请求串口权限?

visual-studio-code - 在 Visual Studio Code 之上开发应用程序

windows - 安装似乎已损坏[不支持]-Visual Studio代码

c++ - 如何在 Linux 上初始化共享库