-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Intellisense Not Autocompleting C Code On M1 Mac #11315
Comments
the same thing is happening in the window for C++ it's not auto-completing |
I'm not reproing the issue. What is the result of running |
This is also happening for C++ as well |
There appears to be some problem with the cpptools-srv process launching correctly, i.e. the logging "Total Memory Usage: 0 MB". Do you still repro this with 1.17.2 that was released yesterday? I'll check with the team see if anyone else might have an idea what could be going wrong... |
@Ghostkwebb What OS are you on? Our current hypothesis is that it's an issue related to the OS version: macOS Sonoma beta 14.0, possibly a bug with that OS or the Mac build tools might have a bug in regards to the code generated for that OS. Is anyone able to repro the bug with a non-Beta OS? |
I'm on macOS Sonoma beta 14.0 (23A5301h) |
@Ghostkwebb Since the only 2 repros we've seen is with that OS, that re-enforces our belief that it's a bug or incompatibility with that OS. You may want to file a bug on Apple and mention the bug doesn't repro with the non-Beta OS? But we'll still try to look into it ourselves to see if it's possible for us to fix. |
Thank you very much for the help |
Could it be related to #10789 ? In my case (with Ventura), I could workaround that with setting C_Cpp.intelliSenseCacheSize to 0 as per that bug. |
Yes, if setting C_Cpp.intelliSenseCacheSize to 0 fixes the issue for anyone, then that should be done. We haven't figured out the cause or repro conditions of this failure with the cache yet. I'm guessing some issue with the memory mapping. |
How do I do this? |
@Ghostkwebb Run "Preferences: Open User Settings (JSON)" and add
somewhere in that file. |
BRO WTF IT ACTUALLY STARTED WORKING!?!?!?! HUHHHHHHHHHHH |
Closing this as a duplicate, as #10789 appears to be the same root cause. It shouldn't technically be necessary to set |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Intellisense doesn't show up when writing C code.
Screen.Recording.2023-08-12.at.1.57.27.PM.mp4
Configuration and Logs
Other Extensions
Additional context
No response
The text was updated successfully, but these errors were encountered: