Pages: 1 [2]   Go Down
Author Topic: Our very own extention?  (Read 1893 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Quote
This is something I'd like to do for 1.0, and also one of the reasons that I think the 1.0 name is useful.  It's a non-backwards compatible change, but one that's small and useful.  

I'm leaning towards .ade for the parallel with Processing and .pde, but .ino is tempting too.

Adding a configuration switch in the preferences would be handy to control this behaviour in case backwards compatibility is needed.
Logged

New York
Offline Offline
Edison Member
*
Karma: 1
Posts: 1023
E != m*c^2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

.ino seems reasonable to me.

As for backwards compatibility, just allow the program to read .pde's as well (so that we can still open our old code, of course) but make .ino (or whatever you choose) the automatic extension when saving new files (and re-saving old ones, that way all the code one already has will eventually come to have the new extension).  
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Its a simple text file, so whatever name you gave to it, it will always be possible to open the file usando the arduino ide, or any other editor.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Its a simple text file, so whatever name you gave to it, it will always be possible to open the file usando the arduino ide, or any other editor.
Yes, I used to open mine with wordpad when I was away from my computer but as I have to have my flash drive with me to open the sketches, I just keep a copy of the IDE on there now  smiley-wink

Mowcius
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 207
Posts: 12917
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


ino --> Inno Setup Script

PLEASE use a file extension longer than 3 characters.
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
PLEASE use a file extension longer than 3 characters.
Yes, Microsoft has plagued us long enough with their 3Letter words.

The extension <filename>.arduino is the only natural choice I think.

Eberhard
« Last Edit: March 20, 2010, 12:14:53 pm by wayoda » Logged

Pages: 1 [2]   Go Up
Jump to: