.h files from pragmas and __GNUC__ definition #240
-
I see design time only errors about intellisense not being able to find pragmas/*.h files (referenced in proto/exec.h, dos.h and graphics.h) becasuse |
Beta Was this translation helpful? Give feedback.
Answered by
MihaMarkic
Oct 12, 2023
Replies: 1 comment 15 replies
-
and this happens with the default project? I can't remember seeing that. |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now, this is funny. So I've enabled C/C++ extension logging before and watched the log - nothing obvious there, errors still persisting but nothing related in log. Then I've restarted VSCode to see whether there are errors then, when C/C++ extension is trying to initialize your provider. VSCode did an update (?) and restarted. But this time everything works as expected. I have no idea what did it update (perhaps normal minor version upgrade or some extensions updated).
So I did a few more tests and found this. Intellisense won't work until you restart VSCode. Basically you have to call "Amiga: Init Project", restart VSCode and then intellisense starts working.