AhmedMedo / arduino

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

Use a different extension for sketch files. #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?
The Arduino IDE should have its own file type (.ade)

Why?
So that files open in the correct IDE (not Processing)

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?
These would be mitigated by users opening and resaving in the Arduino IDE as 
.ade files or by 
renaming them to .ade, and by poping up a message on first use of the new IDE

Original issue reported on code.google.com by ctst...@googlemail.com on 17 Apr 2009 at 9:58

GoogleCodeExporter commented 9 years ago
I agree with this request. We also need an aruidno file.type icon

Original comment by pedromor...@gmail.com on 24 Apr 2009 at 6:43

GoogleCodeExporter commented 9 years ago
What does ade stand for? I find it somewhat vague still what it is for until you
know. It isn't immediately obvious and this shouldn't be a big deal to 
accomplish.
Why not ard or ske?

Original comment by josiah.ritchie on 4 Jun 2009 at 2:16

GoogleCodeExporter commented 9 years ago
PDE is Processing Development Environment
ADE would be Arduino Development.

ARD is the abbreviation used for Apple Remote Desktop and SKE would also be a 
bad idea because SKE or 
Sketch would be similar to the processing sketch... PDE is not right where as 
ADE is a simple and obvious to 
those who already know what pde is, its never going to be 100% obvious and it 
doesn't matter but it solves 
the issue of processing trying to open arduino files on windows and mac.

There doesn't seem to be any comments from the arduino team about this.

Original comment by ctst...@googlemail.com on 4 Jun 2009 at 3:19

GoogleCodeExporter commented 9 years ago
Good points, ADE conflicts with Microsoft Access: 
http://filext.com/file-extension/ADE

From a usability stand point, making decisions based on what people already 
know is
rough. I'd rather make a decision based on informing them of what they need to 
know
(making it a guessable as possible). That's the thinking behind ARD, but I 
certainly
see the problem with that cross-over. How about ARS or ADS, both have some 
conflicts,
but they look less problematic.

When I first was looking around, this was very confusing for me. I have a rote 
memory
connection between an Arduino Sketch and the PDE extension, but it still 
doesn't make
sense. ADE still won't make sense because we call them sketches and I don't 
know what
the E stands for. Maybe AD in ArDuino, but it isn't an arduino, it's a sketch.

Anyway, that's my thinking behind tossing ADS and ARS out as potentials.

Original comment by josiah.ritchie on 4 Jun 2009 at 5:46

GoogleCodeExporter commented 9 years ago
I don't think this should be up for discussion simply because the reason its 
currently PDE is because of where 
the application came from, Processing.

Processing and the Arduino software are types of IDE, Integrated Development 
Environment. This is a well 
known term in programming and its common place to replace the I with the letter 
of the language, in this 
case producing PDE, even though it may not immediatly make sense to someone 
like you who doesn't know 
what an IDE is it makes sense to those who do.

The logical progression along that course of thinking is to call it ADE and for 
simplicity when it comes to 
moving people over to the new name it would be better to call it ADE as they 
will already be used to PDE file 
extensions.

I understand that if you don't know what IDE is then ADE and PDE don't make 
sense but with the exception or 
ARD, the extensions ARS and ADS make little sense at all where as SKE would 
conflict as processing also has 
the skech concept. and ARD makes sense but you may as well just call it 
.ARDUINO as thats perfectly 'legal'. 

My view is that this should be done and called ADE because of the logical 
progression from what it is now and 
the simplicity in renaming it but I understand your point of view in calling it 
something arduino sounding.

Original comment by ctst...@googlemail.com on 4 Jun 2009 at 6:13

GoogleCodeExporter commented 9 years ago
I don't think this should be up for discussion simply because the reason its 
currently PDE is because of where 
the application came from, Processing.

Processing and the Arduino software are types of IDE, Integrated Development 
Environment. This is a well 
known term in programming and its common place to replace the I with the letter 
of the language, in this 
case producing PDE, even though it may not immediatly make sense to someone 
like you who doesn't know 
what an IDE is it makes sense to those who do.

The logical progression along that course of thinking is to call it ADE and for 
simplicity when it comes to 
moving people over to the new name it would be better to call it ADE as they 
will already be used to PDE file 
extensions.

I understand that if you don't know what IDE is then ADE and PDE don't make 
sense but with the exception or 
ARD, the extensions ARS and ADS make little sense at all where as SKE would 
conflict as processing also has 
the skech concept. and ARD makes sense but you may as well just call it 
.ARDUINO as thats perfectly 'legal'. 

My view is that this should be done and called ADE because of the logical 
progression from what it is now and 
the simplicity in renaming it but I understand your point of view in calling it 
something arduino sounding.

Original comment by ctst...@googlemail.com on 4 Jun 2009 at 6:13

GoogleCodeExporter commented 9 years ago
Perhaps I misunderstand the point of the IDE. It was my understanding that no 
serious
developers used the Arduino IDE, but rather took their sketching elsewhere to 
things
like Eclipse. Therefore, making a decision based on the expectations of those 
who
won't use it anyway doesn't seem useful. If the Arduino IDE doesn't serve the 
serious
developers and it doesn't serve the newbs, then why does it exist in the first 
place?

m@unknown, if I'm supposed to recognize you as someone considered an authority 
and
qualified to make decisions like this across the arduino project, then I 
apologize.
Your profile has very little distinguishing characteristics for me to derive 
this
from. Otherwise, it is open for discussion by the nature of the issue queue and 
that
Arduino considers itself an open community.

Many people using arduino's aren't coders by trade. Arduino was designed 
originally
with that person in mind and has attracted a lot of attention from artists, 
hobbyists
and others outside the coder world. Why alienate them? They can give a lot to 
the
community through documentation, ideas, testing and extending the expectations 
of the
Arduino into new ways that the software engineer isn't likely to consider.

I'll bow out as I'm far enough off-topic at this point to not be serving the 
issue.

Original comment by josiah.ritchie on 4 Jun 2009 at 6:45

GoogleCodeExporter commented 9 years ago
I think your misunderstanding and jumping on the troll band wagon a bit, I am 
simply pointing out that the 
logical reason to call it as such is the reason I said, its nothing to do with 
Eclipse or any other IDE its simply 
following the system by which is was already named, I said that 'I don't think 
it should be up for discussion 
because...' not 'This is not up for discussion'.

I am not a coder by trade I am a graphic design new media graduate. I am not 
making decisions or telling 
people what to do I am simply making my argument for the ADE because I disagree 
with the prior suggestions 
of naming it based on what makes most sense as I think it makes more sense to 
name it in the PDE/ADE 
system rather than changing it to SKE or ARD which mean little more and don't 
have the strength of the other 
one in my opinion.

Anyway as this is rapidly turning into an argument I will stop there, my 
opinion has been voiced for and 
against and I think it should be left to the community to suggest other reasons.

Original comment by ctst...@googlemail.com on 4 Jun 2009 at 7:24

GoogleCodeExporter commented 9 years ago
What do you guys think of .ino?

In any case, this will be a tricky migration to do smoothly, so it may not 
happen for a while.

Original comment by dmel...@gmail.com on 5 Jun 2009 at 12:30

GoogleCodeExporter commented 9 years ago
dmellis what is the .ino an abbreviation of?

Original comment by ctst...@googlemail.com on 5 Jun 2009 at 11:35

GoogleCodeExporter commented 9 years ago
It's the last three of ArduINO. At first I was thinking No, but it's warming on 
me.
As long as that was pointed out early to people, since it is a bit obscure, it 
would
be easy to remember and is unique.

I could get into a web 2.0 mood and name my sketches sketch.ardu.ino. :-)

Original comment by josiah.ritchie on 5 Jun 2009 at 12:17

GoogleCodeExporter commented 9 years ago
Issue 30 has been merged into this issue.

Original comment by dmel...@gmail.com on 8 Jun 2009 at 1:08

GoogleCodeExporter commented 9 years ago
Isn't there an online database of file extensions somewhere - to avoid as many
conflicts as possible? There should be something that is easy to recognize but
doesn't duplicate any general purpose file extensions.

I'd vote for anything with "a" as first letter, but any change will quickly be
recognized / adopted. 

Original comment by pbad...@verizon.net on 8 Jun 2009 at 5:06

GoogleCodeExporter commented 9 years ago
I like ADE or INO.

How would we handle the migration?  I imagine that the IDE would rename files 
when opening the sketch 
containing them.  Should it notify the user?  Allow them to approve or reject 
the rename?  

My thought would be to notify the user the first time a sketch is opened and 
renamed, and subsequently do the 
rename without prompting.  What do you think?

Original comment by dmel...@gmail.com on 15 Jun 2009 at 7:51

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 15 Jun 2009 at 8:31

GoogleCodeExporter commented 9 years ago
Since the file format is not different, I don't see anyway to really irritate 
people
in the implementation(unlike MS word say). Just filter for both file types in 
the
open dialog box and save to the new extension, with perhaps an alert message 
saying
that arduino now has its own file format extension but the files haven't 
changed.

OK I take it back, someone will be irritated, because the world's a big place. 
But
everyone else will be happy.

Original comment by pbad...@verizon.net on 16 Jun 2009 at 12:06

GoogleCodeExporter commented 9 years ago
What happens if someone accidentally opens a Processing file in Arduino and it 
then gets automatically given the 
INO extension? You have to manually give it a new extension. That can be a bit 
of a hassle is some OSs. Probably 
just a liability as I can't think of a solution but thought I'd toss it out 
their in case someone else can. 

Perhaps their is a way to be a bit more certain that it is really an arduino 
and not a processing file or would it 
just not open?

Original comment by josiah.ritchie on 16 Jun 2009 at 1:58

GoogleCodeExporter commented 9 years ago
Oops, Good point. The files are both just text files eh? You could search for 
"loop("
in the file, which would probably work well enough, but it's kind of an ugly 
solution.

Maybe add a line to the alert box which says "Please be certain that this isn't 
a
Processing file"  It kind of goes with the diy quality of Processing and 
Arduino.

pb

Original comment by pbad...@verizon.net on 16 Jun 2009 at 2:09

GoogleCodeExporter commented 9 years ago
Did this come to any conclusion? Will there be a change?

Original comment by rus.tech...@gmail.com on 30 Jul 2009 at 7:00

GoogleCodeExporter commented 9 years ago
I hope so, heres my understanding...

When a .pde files is opened in arduino it explains that its no longer in the 
supported format and then offers 
to change/update it to .ade or what ever we choose.

From this update onward it no longer associated with .pde files by default 
instead with .ade or what ever we 
choose.

The icon will also be updated with the newer design (good work by the way) and 
perhaps we could create a 
file icon so that .ade or what ever we choose files are highlighted as such 
with a icon suiting the client 
operating system with the arduino icon on top as is usual with these file type 
icons.

Windows will show the file as the type Arduino Sketch File (for example) and 
the file browser (open sketch) 
menu will need to allow for .ade and .pde file formats or have a tick box to 
enable .pde files.

Original comment by ctst...@googlemail.com on 30 Jul 2009 at 8:00

GoogleCodeExporter commented 9 years ago
when is this going to happen. Priority should be raised to HIGH. Any solution is
better than no solution

Original comment by mzdohe...@gmail.com on 20 Oct 2009 at 6:46

GoogleCodeExporter commented 9 years ago
Can we not leave the 1970's 3 letters behind and call it 'project.arduino'?

Original comment by magrat...@gmail.com on 26 Oct 2009 at 7:55

GoogleCodeExporter commented 9 years ago
8+3 is extremely important! Essential.. absolutely.. well.. not sooo essential..
maybe.. no, yes.. Hell, *.arduino sounds great to me!

Original comment by mamage...@gmail.com on 26 Oct 2009 at 7:57

GoogleCodeExporter commented 9 years ago
so long!

Original comment by mzdohe...@gmail.com on 26 Oct 2009 at 10:10

GoogleCodeExporter commented 9 years ago
I agree we should have .arduino, those who agree please say 'I'

Original comment by ctst...@googlemail.com on 27 Oct 2009 at 12:46

GoogleCodeExporter commented 9 years ago
I
;0)

Original comment by mamage...@gmail.com on 27 Oct 2009 at 6:01

GoogleCodeExporter commented 9 years ago
I

Original comment by josiah.ritchie on 27 Oct 2009 at 6:08

GoogleCodeExporter commented 9 years ago
Long before I got to the bottom of this thread I thought "since it is so common 
to add 
'duino' to a word to signify it's association, why not use .duino as the 
extension?" 
(examples boarduino, stickduino, stampduino, quaduino, megaduino, minduino) 
That 
said I am also in favor of using .arduino as the extension. I do believe we 
should allow 
our filenames be influenced by the people who chose to use back slashes for 
path 
separators, command line switches, and registry separators.

Original comment by RichardB...@gmail.com on 29 Dec 2009 at 2:52

GoogleCodeExporter commented 9 years ago
Extension Change Wrapup:

It's clear from discussion above that most people do not care much what the 
extension
is, that it should just be changed.

Apparently David Mellis, the only discussant that really matters, feels that 
this
change will be hard to implement, even after boatloads of explanations of how it
could be done, and also opinion that it would be a good idea. So unless I've 
missed
something, this is not going to change anytime soon.

Further comment also appears to be pointless, and I'm off to find the method to
unsubscribe from this thread.

PaulB

Original comment by pbad...@verizon.net on 29 Dec 2009 at 3:09

GoogleCodeExporter commented 9 years ago
Actually, Paul, as I explained in an email to the developers list, changing the 
file extension for Arduino sketches 
is something I'd like to do in release 1.0 of the software.  I also changed the 
status of this bug to accepted, 
indicating that I think it's something we should do.  Please stop attributing 
opinions to me.

Original comment by dmel...@gmail.com on 29 Dec 2009 at 4:43

GoogleCodeExporter commented 9 years ago
^Win

release 1.0? 

also, I'd like to post an "I" - I wouldn't mind either .duino or .arduino

Original comment by rus.tech...@gmail.com on 25 Jan 2010 at 3:43

GoogleCodeExporter commented 9 years ago
Randomer here, but keep it as "8.3" otherwise some people using say FAT16 or 
lower 
would not be able to save/recognise it.

Original comment by Pins...@gmail.com on 7 Feb 2010 at 11:56

GoogleCodeExporter commented 9 years ago
What if we dropped creating a new IDE and create an Eclipse plugin specific to 
the 
arduino? If it's done right it could still be just as easy for beginners to 
use. Then 
on the back end we still use standard c++ extensions? After all, programming 
the 
arduino is still c++.

Original comment by snp...@gmail.com on 21 Mar 2010 at 7:30

GoogleCodeExporter commented 9 years ago
Yes but Xcode would be nice instead of eclipse

Original comment by mzdohe...@gmail.com on 21 Mar 2010 at 8:28

GoogleCodeExporter commented 9 years ago
Eclipse is cross-platform.  Xcode is great, but most of the world can't use it.

Original comment by clvrm...@gmail.com on 21 Mar 2010 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 1 Apr 2010 at 6:23

GoogleCodeExporter commented 9 years ago
When I'm thinking of the extension of a file, I prefer to have the extension 
describe the type of content in the file, and not the application it's 
associated with. While .arduino is a good name in my opinion, I'd prefer to see 
it be something more like .sketch.

Original comment by rhy.medn...@gmail.com on 25 Jun 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Doent really matter what the extension is.. but its nice to attrinte ."ard"uino 
files with the correct syntax highlighter etc

Original comment by pedromor...@gmail.com on 25 Jun 2010 at 9:57

GoogleCodeExporter commented 9 years ago
Does anyone actually still use filesystems with the 8.3 limitation? I mean, 
obviously SD cards and some embedded devices, but are people actually doing 
arduino development on DOS machines and the like? Unless I'm missing something, 
there's no practical reason to not use a "long" extension like .arduino. It 
would be highly informative and very unlikely to cause confusion.

Original comment by matt.min...@gmail.com on 2 Sep 2010 at 4:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/tree/new-extension

This is now ".ino", although I'm open to other three-letter suggestions.  It's 
strongly enforced: you get a dialog box the first time you try to open a sketch 
with .pde, asking you if it's okay to rename it and every other .pde sketch 
that you'll open.  If you decline, the .pde won't open.  The only way to edit / 
compile / upload old sketches is by renaming them to the new extension.

Original comment by dmel...@gmail.com on 7 Jan 2011 at 4:01

GoogleCodeExporter commented 9 years ago
Why three-letter only? It's 2011.

Original comment by mine...@gmail.com on 7 Jan 2011 at 4:59

GoogleCodeExporter commented 9 years ago
why force an extension change on people? if at all possible, the option should 
be given to the user. example, notepad saves files as .txt, but it doesn't fail 
to open if the file isn't .txt

Original comment by lorenzo42p on 7 Jan 2011 at 10:50

GoogleCodeExporter commented 9 years ago
It was mentioned on the forum that .INO conflicts with InnoSetup, just FYI.

Although it isn't called out specifically above, the three-letter extension may 
be for compatibility with SD cards used with Arduinos, as the SD library only 
supports short filenames: http://arduino.cc/en/Reference/SD

A couple of "lists of extensions":

http://filext.com/alphalist.php?extstart=^A
https://secure.wikimedia.org/wikipedia/en/wiki/List_of_file_formats_(alphabetica
l)

Original comment by e...@logic.net on 8 Mar 2011 at 6:30