leo25 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Change the name of the preference used to save and restore names of open sketches. #512

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

We should use a different preference to save the names of open sketches in 
Arduino 1.0.  That way, your sketches won't be inadvertently renamed if you 
quit a pre-1.0 version with them open and then run Arduino 1.0.  Of course, 
Arduino 1.0 will still rename sketches that you explicitly open with it, but 
these will, I hope, mostly be the ones that you don't need to use in the old 
version any more.

Original issue reported on code.google.com by dmel...@gmail.com on 24 Mar 2011 at 3:14

GoogleCodeExporter commented 9 years ago
I resolved this by not restoring sketches with a .pde extension, so that 1.0 
doesn't automatically rename sketches that you had left open when quitting a 
pre-1.0 version of Arduino.  You still get a bunch of dialog boxes if you leave 
sketches open in Arduino 1.0 and then run a pre-1.0 version.  

https://github.com/arduino/Arduino/commit/63d3190cbb413011ecc1d017c2c6122097d901
32

Original comment by dmel...@gmail.com on 26 Mar 2011 at 8:25