My code is full or error squiggles, obviously since the intellisense for C is not working anymore and so all the functions are not recognized.
I read about clangd and its configuration, but I am using an old version of STM32CubeIde and there is no setting for the configuration of clangd.
So basically I moved from free VSCode to paid Cursor and my coding experience become worse.
Is there some way to disable squiggles for good?
Steps to Reproduce
Write some C code with functions in different files
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Cursor only uses the Anysphere C++ extension plus Clangd.
Issue: Clangd needs a compile_commands.json to work correctly. For STM32CubeIDE you have to generate it separately. That’s a known pain point for embedded projects.
Two options:
Configure Clangd (recommended if you want IntelliSense):
Hi there,
After adding Diagnostics: Suppress: '*' to my .clangd configuration file, the top of my source file still displays the error: “Too many errors emitted, stopping now clang(fatal_too_many_errors)”. Additionally, the source file appears highlighted in red in the sidebar. I’ve tried everything to disable this but haven’t succeeded—could you please help resolve this issue?Thanks for your support.