Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法打开源文件 "commoncppproblem1.h" #21

Open
halo-geng opened this issue Dec 10, 2021 · 9 comments
Open

无法打开源文件 "commoncppproblem1.h" #21

halo-geng opened this issue Dec 10, 2021 · 9 comments

Comments

@halo-geng
Copy link

🐛 Bug Report

无法打开源文件 "commoncppproblem1.h"

Your Environment

  • os: Windows 10
  • extension settings:
  • nodejs version:
  • vscode version:
  • extension version:
@halo-geng halo-geng reopened this Dec 10, 2021
@ankunw
Copy link

ankunw commented Dec 12, 2021

我也是这个问题,楼主解决了吗@halo-geng

@Jf710001011
Copy link

一样的问题

1 similar comment
@liyuehua-mx
Copy link

一样的问题

@xiebao1999
Copy link

题主解决了吗,我看到有的博客是将电脑原有的VS卸载了,但是我的VS还需要使用,题主用的是什么办法呢

@ankunw
Copy link

ankunw commented Dec 12, 2022

我不用vscode调试代码了,用的lightly在线调试,一个在线编程网站。还挺好用。把代码复制进去就能调试了

@Jf710001011
Copy link

我一直用的是vscode 调试,但是我却忘记我是如何解决这个问题得了

@Byron0116
Copy link

Byron0116 commented Oct 6, 2023

  1. 点击找不到的头文件的小灯泡,选第一个 Edit "includePath" setting
  2. 然后会跳转到c/c++ configuration,找到include path,将下述地址复制进去C:\Users\Yourusername\AppData\Roaming\Code\User\globalStorage\wangtao0101.debug-leetcode,其中Yourusername为你的用户名。
  • 若此地址失效,你可以点击debug,在下方你的debug console中会有一个包含wangtao0101.debug-leetcode的地址这就是该插件生成文件的地址。

第一次在github中回答issue,若解决了请点个赞让更多人看见

@Jf710001011
Copy link

这个虽然报错,但不会影响调试啊

@carry-up
Copy link

我去,确实不影响调试,白搭俩小时

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants