Before step 3 I only had one pair of NeoPixel files. After step 3 I now have 2 pairs of NeoPixel files.
This issues has previously been reported in https://community.spark.io/t/two-tabs-for-one-file-in-build/3226. However, the last comment is more than 200 days ago. I am not sure what the policy is on opening old thread, so I now make a new thread on the same topic. I apologize if this is the wrong thing to do.
@jdn@kennethlimcp I’ve seen this problem as well, to reproduce create a new app, add a set of files, add a library to the app and after the library add you get double tabs for each file other than the main app.
Thank you so much @mtnscott for articulating a simple way to reproduce this issue! This issue has surfaced multiple times and though we’ve looked into it, we didn’t get far because we weren’t sure how to replicate it and weren’t sure whether it was an issue that only occurred in the production context and not dev environments. Now that we know how to reproduce this, we should be able squash this devious bug. I’ve added your “to reproduce instructions” to the existing issue we have open for that. Will ping everyone on this thread and the other one, when we push out a fix for it.
As far as workaround goes, @jdn, I was able to make the extra tabs go away by saving existing content in the duplicated tabs (in another text editor), deleting them, then refreshing the page. If others have workaround suggestions, please chime in!
After playing with libraries, my sandbox environment on build.particle.io now has a .ino sketch tab, and TWO each I2Cextender.cpp and I2Cextender.h tabs.