Open pdaoust opened 9 years ago
Hi, thank you!
Sketchbook location is changed for a reason: Arduino 1.5+ libraries is different. And sometimes totally incompatible with 1.0.
Setting custom location for sketches is supported in Arduino IDE preferences file. I will support reading this file, but priority is low, sorry. I think you also prefer code completion and library management over sketchbook custom location -)
For now, if you want to use your libraries, the simplest solution is create symlink from ~/sketchbook/libraries
to ~/Arduino/libraries
. Or copy libraries folder.
Thanks for the reply -- I don't think you need to spend any development time on custom library locations; your documentation says that you only support Arduino 1.5 and above, where the libraries are in ~/Arduino/libraries
. So users should expect that, in order to work with CuWire, that's where their libraries should be. That's fine.
My question is this: My libraries actually are in ~/Arduino/libraries
and they still can't be found. Compiling from the Arduino ID (1.6) they're found, but compiling from Cuwire they aren't found. Any ideas?
Arduino default folder for user's libraries is ~/Documents/Arduino/libraries
. If yours library folder is actually ~/Arduino/libraries
, I'll investigate this.
Also I fixed many issues within file search routine, maybe libraries is suffer from this. I'll let you know when update is ready.
Oh, that's odd -- wonder if the difference in default folders is a Linux vs Mac thing. Are you using Mac OS X?
Thank you!
Yes, my main development environment on mac. I have linux and windows vm to test cuwire.
Just launched Arduino IDE on linux vm and found correct locations.
Just released new version, 0.5.3. Please update plugin using Brackets Extension Dialog. CLI is also updated to version 0.5.9.
Please check if issue persists.
Thanks; I'll check it out when I've got some time!
Hi there. I just installed Cuwire (the Brackets extension) and I must say it's much nicer looking than the official Arduino IDE. I am, however, having troubles with sketches that use libraries in the sketchbook folder (I guess this is now
~/Arduino/libraries
rather than~/sketchbook/libraries
like it was in Arduino 1.0.x). Is there any way I can tell Cuwire where to find those libraries when compiling?