How can I create a workspace & projects so that either the Arduino IDE or the EclipseArduino IDE may be used to develop the project, interchangeably?
I have both IDEs installed and working but in separate workspaces.
- One workspace that either IDE can understand and work in;
- Either to IDE build with the physically same set of library sources;
- Whichever IDE I open to see my sources as I last left them, regardless of which IDE I last used.
- The source files to have conventional names - .C or .C++, not .pde or .ino;
- Either IDE to build with the physically same set of library object modules;
My use-case is that I work in/with Eclipse, and I teach Arduino skills to people starting out with the Arduino IDE. I'd like to be able to prepare class work at home with Eclipse but open and project it in class with the Arduino IDE. It would be nice if I could demonstrate the two IDEs using the same code. Clearly, I could hack up a demonstration, but I'd rather do it honestly and without sync issues like having to apply twice any changes we made in class.
Update 20 Apr '16: At @Jantje's suggestion (in the comments below his answer), I created a github issue, "Importing an ArduinoIDE project with the New Sketch Wizard and using same sketch-name, failed." The new sketch would over-write the .ino file with a new, empty sketch.
That issue got fixed in the April 14, 2016 nightly and now works as his answer to this question says it does.