WLED.h - no such file or directory

Hi, I’m currently playing around with my first user mod. Unfortunately, I’m already failing at the basics.
When compiling, I get the error “wled.h - no such file or directory.” I previously cloned wled from GitHub and compiled and flashed it in its original state. It works without any problems.

Now I’ve adjusted the main.cpp file. The command “include wled.h” causes the error mentioned above.
By the way, I’m using vscode with platformio on a Mac, if that’s relevant.
If you need more information, let me know.

Steph

revert your changes, if it works then, you broke something with your code.

If I undo it, everything works again. I haven’t made any other changes. The first line of my change is include wled.h, and that fails. I don’t know where to start troubleshooting.

look how other usermods do it.