This repository was archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 236
personal header files are not found if they are alphabetically first in the folder. #1436
Comments
I seem to remember a similar issue to this, and I think this happens if your parent directory name doesn't match the name of the .ino file. |
I can reproduce this behavior, but only when the |
Thank you, I had no idea that requirement existed! I had a feeling it had to be something simple. |
Glad that works! I opened #1448 to track improving the warnings in the extension for this case. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Given an arduino file named:
Now, should you have your own includes in the same directory, for example:
There will be no issue importing them.
However, should they be named as such:
I am recieving an error in this situation:
renaming it to a number that alphabetically larger than the source file
m.ino
and deleting the c_cpp_properties.json and the output folder, results in a build that once again, works.I am not sure if the is an arduino thing, or vscode thing, but its definitely a bug, at least for me.
I do not wish to use external library folders.
The text was updated successfully, but these errors were encountered: