Unfortunately, there currently is no way to access your Web IDE project from anywhere other than the Web IDE. If you want to edit the files/project locally, you’ll have to copy them over I’m afraid. That said, once you’ve done that, you’re free to use any sort of versioning system you like, be it github or dropbox for example.
You can edit .h and .cpp files in the Web IDE, but you’ll manually have to copy them into your project by using the little ‘+’ icon in the top right corner of the screen.
I’m aware that either of these is less than ideal, and it’s something I’ve been mentioning to Particle for a bit. It’s definitely on the backlog, but making the user project accessible from an API is a bit of a bigger project than you’d think on first glance (I miscalculated that one as well). With that in mind, some more pressing issues and/or more useful project have been prioritized. Let’s hope they’ll be able to work this out in the future though. For now, it’ll have to be a copy&paste though.
Ok, that helps a lot. Looks like there are several layers to the one file that showed on the first page. This is making it harder to see what is going on.
Not sure what layers you’re referring to. The library consist of a .h, a .cpp, and two example files. That’s all there is to see for that given library.
Also, if you click at the GitHub icon just below the library name (DS18B20) you’ll find the GitHub repo the library is based on.
You can copy the library from there or in Desktop IDE you have an option to do that via the Library Manager too.
I’m using my phone so I hope I copied it correctly.
The reason I wanted to see the included file info was to try and understand why the output I am getting is not what I expected.
I get , light level, light level, temp(sensor1), light level, temp(sensor2), light level, light level, temp(sensor1), ect
Though the IDE definitely isn’t perfect, hating it goes a bit far if you ask me. It’s quite capable of doing most, if not all task that one could require it to do.
There’s always the desktop IDE for more flexibility. Heck, you could use any editor you like, and compile your files using the CLI. Plenty of options.
I see, you chose to go for a library that doesn’t expose its sources the way it’s meant to be.
With a library that does, you have some more options see what’s going on.
That’s also one of the reasons why @Moors7 has refered you to the DS18B20 library that does try to adhere to the rules of contributing libraries as close as possible.
If you might ask, why do we have (at least) four libraries for one type of sensor with most of them not making things easy for the user, then I’m absolutely with your, but Particle can’t prevent people from contributing libraries or force them to keep up maintaining them properly.