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

问题跳转 #2

Open
1262706090 opened this issue Jan 18, 2023 · 6 comments
Open

问题跳转 #2

1262706090 opened this issue Jan 18, 2023 · 6 comments

Comments

@1262706090
Copy link

出问题后,无法直接跳转
双击问题后,会出现下面情况:
屏幕截图_20230118_114644

@leioukupo
Copy link
Owner

leioukupo commented Jan 18, 2023

???这个文件不存在,和我无关。我这边有问题可以跳转

@1262706090
Copy link
Author

本来是main.c页面,点问题后跳到main.c\1页面。main.c\1确实没有,点问题后才出现

@leioukupo
Copy link
Owner

我有时间再看看怎么解决吧

@leioukupo
Copy link
Owner

我认为这是keil编译器导致的。51简单,在编写代码过程种应该不会出现语法错误。如果实在需要语法检查,修改settings.json中的
"C_Cpp.errorSquiggles": "disabled"为"C_Cpp.errorSquiggles": "enabled"
但这么做将导致vsc会提示P1未定义

@1262706090
Copy link
Author

image
下边是可以的

@1262706090
Copy link
Author

改成enabled后

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

2 participants