IonicWind Software

Aurora Compiler => General Discussion => Topic started by: John Syl. on November 30, 2006, 01:01:47 PM

Title: "Save All.." doesn't!
Post by: John Syl. on November 30, 2006, 01:01:47 PM
A minor problem , but using the Save All function in File menu, only saves the src and dlg files.  It has no effect on any inc files that are open and changed.

regards John
Title: Re: "Save All.." doesn't!
Post by: J B Wood (Zumwalt) on November 30, 2006, 01:24:39 PM
Inc files are not part of the project, you have to click "save" on those when you make changes I think.
I could be wrong.
Title: Re: "Save All.." doesn't!
Post by: Mike Stefanik on November 30, 2006, 01:29:30 PM
They should be, however. Include files are as much a part of a project as source files.
Title: Re: "Save All.." doesn't!
Post by: J B Wood (Zumwalt) on November 30, 2006, 01:41:33 PM
But they are not project members.
You don't "include them" in the project, other than use #include "file.inc"
The save all only saves project members I think.
Although anything open in the editor should probably be saved when save-all is clicked.
Guess its a solid Paul question.
Title: Re: "Save All.." doesn't!
Post by: John Syl. on November 30, 2006, 02:52:26 PM
I would have thought it is an IDE question as it is possible to have severla files open and worked on,
so save all should save all files regardless of whether they are direct members of a project.  but as you say
it's a Paul subject, there maybe a valid reason why inc files are not saved.  Can't think of one, but thought I'd mention it.

John
Title: Re: "Save All.." doesn't!
Post by: John S on December 29, 2006, 09:47:23 AM
Paul,
just a reminder:  "Save All.." still doesn't
Title: Re: "Save All.." doesn't!
Post by: Rod on January 11, 2007, 02:36:53 PM
If the function is called "Save All", then it stands to reason it should do just that. If it's only going to save certain types of files, that's fine, but I think it should be called "Save Some". JOMO (Just One Man's Opinion)  :)
Title: Re: "Save All.." doesn't!
Post by: John S on January 11, 2007, 02:51:59 PM
We need a "Program All" button too!     ;D
Title: Re: "Save All.." doesn't!
Post by: barry on January 11, 2007, 03:36:22 PM
Quote from: Jonathan (zumwalt) Wood on November 30, 2006, 01:24:39 PM
Inc files are not part of the project, you have to click "save" on those when you make changes I think.
I could be wrong.

I can't agree with that.  Include files can be and usually are very much a part of the project.  That you include them through the source file instead of naming them in the project doesn't change that.  If the IDE fails to save your changes in include files the project is screwed up.

It's a bug.  If it's by design then it's a bug in the design. :)

Barry
Title: Re: "Save All.." doesn't!
Post by: Ionic Wind Support Team on January 11, 2007, 04:24:13 PM
You people are driving me nuts.  It was designed to save all project files and works as I intended it to.   ::)

Sure I can make it save all "open" windows, but then you'll be complaning that it asks for a file name for all files that haven't been saved once yet.  I work with a lot of open windows that I am just pasting to and from, never intending to save them but use them as a place to hold code temporarily. 

Whatever, to each their own.  I will force it to save all open windows when you press the button.  I'll just have to save my own files individually after that.

Paul.
Title: Re: "Save All.." doesn't!
Post by: John S on January 11, 2007, 04:29:39 PM
I too keep temporary files open to cut and paste from.  I would prefer you leave it as is.
Title: Re: "Save All.." doesn't!
Post by: LarryMc on January 11, 2007, 04:47:46 PM
Works great for me just as it is. ;D
Title: Re: "Save All.." doesn't!
Post by: Mike Stefanik on January 11, 2007, 04:54:26 PM
Please allow include files to be added to the project list, while you're in there. Obviously they shouldn't be fed to the compiler, but it would be nice to add "non-compilable" files (includes, resource scripts, dialog files, etc.) so that they're all in one place in the IDE and you don't have to go browing for them. Even nicer would be a folder hierachy to represent the different types of files, ala Visual Studio. But I don't want to push my luck. :)
Title: Re: "Save All.." doesn't!
Post by: Parker on January 11, 2007, 05:27:20 PM
How about renaming the current item to "Save All Project Files" and making the "Save All" save every file? As it is I guess it's a little misleading.
Title: Re: "Save All.." doesn't!
Post by: Blue Steel on January 11, 2007, 05:37:07 PM
You guys DO know don'tr you that you CAN use OTHER IDEs to Edit and Compile BOTH Aurora and EBasic files.. you DON'T have to use the ones that come with them. IF you have a preference of how another IDE does thing then you can use them instead.. Everyone has their own preferences and I for one would rather see Paul Focus on the Languages themselves than trying to Design an IDE that does everything that everyone wants (which would be extremely time consuming.. as I too have yet to find an IDE out there that does EVERYTHING that I want the way that I want it) some have come tantalisingly close. minimum requirements for a most IDEs these days include what the Aurora's IDE Does already provide.. (I can't wait for EBasic's IDE to be converted over to using it), the one thing that most Good IDEe's are missing is the Folding options.. which I use a lot to fold big blocks of code.. (I know i should write smaller files and do it that way).

The thing about SAVE EVERY open window i feel shouldn't happen.. it should only save any files that are listed in your projects area. It can't know what files are included from within your code without at least pre parsing the code in for those listed in your open project. If you don't have a project open THEN i can see a benefit of a SAVE ALL that will save every Modified.

Title: Re: "Save All.." doesn't!
Post by: Blue Steel on January 11, 2007, 05:38:18 PM
BlueSteel YELLS "SNAP" to Parker LOL
Title: Re: "Save All.." doesn't!
Post by: Ionic Wind Support Team on January 11, 2007, 06:01:33 PM
Topic locked as I have had enough of everyones suggestions for the time being.  More important things to complete first, such as the documentation and operator overloading.  Write your own IDE if you hate it that much, or wait until I at least finish coding it ;)

The whole idea of the "save all" was to save the project file itself along with any open source files, this isn't a word processor afterall. That is how it has been in IDE's I have built since 2004 and this is the first time anyone has created such a fuss over it.  It was like that in IBasic Pro since the very beginning and I don't think anyone ever complained about it.

Suggestion noted.  Thank you for your input.

Title: Re: "Save All.." doesn't!
Post by: Ionic Wind Support Team on January 12, 2007, 06:15:41 AM
Just so you don't think I am not flexible...

The Aurora IDE already has a code scanner that looks in include files for the current project.  It is how the classview works and you can right click on a method in the class view and choose "show declaration" which opens up the correct include file.

So I am adapting the code scanner so it can be used during the 'save all' as well.  I still don't think it should save non project related files though because of the reasons already stated.