ENIGMA Forums

Contributing to ENIGMA => Proposals => Topic started by: edsquare on July 31, 2014, 03:42:48 pm

Title: Close file without closing LGM/ENIGMA
Post by: edsquare on July 31, 2014, 03:42:48 pm
Since I don't know how to do it that is the gist of my propossal: The option to close the game we are working in without closing the ide nor the plugin. All the IDEs (regular development ones) I know have this option, it even asks you if you want to save the changes, then closes the project but not the ide.
Title: Re: Close file without closing LGM/ENIGMA
Post by: Goombert on July 31, 2014, 05:22:29 pm
Why not just hit the new file button...?
Title: Re: Close file without closing LGM/ENIGMA
Post by: edsquare on July 31, 2014, 10:04:27 pm
Why not just hit the new file button...?

It closes the current project?
Title: Re: Close file without closing LGM/ENIGMA
Post by: time-killer-games on July 31, 2014, 10:15:24 pm
Robert he means adding the ability to have multiple projects loaded simultaneously in the same IDE window/treeview instance, similar to CodeBlocks/VisualStudio how you can manage solutions and workspaces kinda deal and whatnot.
Title: Re: Close file without closing LGM/ENIGMA
Post by: edsquare on July 31, 2014, 10:29:37 pm
Robert he means adding the ability to have multiple projects loaded simultaneously in the same IDE window/treeview instance, similar to CodeBlocks/VisualStudio how you can manage solutions and workspaces kinda deal and whatnot.

Kinda, but not:

More like what lazarus does where I can close a project without closing the ide, this because before I could open another project on enigma and it would close the one already open, but now sometimes I end up with two projects open on the project inspector one on top of the other.
Title: Re: Close file without closing LGM/ENIGMA
Post by: Goombert on July 31, 2014, 11:17:40 pm
Now I understand, I had thought about it before, and I have ideas, but sadly don't have time to work on them.
Title: Re: Close file without closing LGM/ENIGMA
Post by: Darkstar2 on July 31, 2014, 11:40:39 pm
@TKG: Oh no! not multiple projects, that would be suicide in LGM. It gets unstable as it is with one bloody project (rather the ENIGMA plugin stability). 

I agree every IDE has a CLOSE function which leaves the IDE open but clears/closes the project.

And yes using the new project clears your ongoing project.

Title: Re: Close file without closing LGM/ENIGMA
Post by: TheExDeus on August 01, 2014, 04:10:55 am
Quote
More like what lazarus does where I can close a project without closing the ide, this because before I could open another project on enigma and it would close the one already open, but now sometimes I end up with two projects open on the project inspector one on top of the other.
That is a bug probably, as LGM doesn't have the option to have more than one project open. It seems you have a lot of bugs with LGM no one else can replicate for now. :D People with Linux should test. But you can just press "New Project" and it will reset everything.
Title: Re: Close file without closing LGM/ENIGMA
Post by: edsquare on August 01, 2014, 04:31:06 am
Quote
More like what lazarus does where I can close a project without closing the ide, this because before I could open another project on enigma and it would close the one already open, but now sometimes I end up with two projects open on the project inspector one on top of the other.
That is a bug probably, as LGM doesn't have the option to have more than one project open. It seems you have a lot of bugs with LGM no one else can replicate for now. :D People with Linux should test. But you can just press "New Project" and it will reset everything.

I have bugs you say? I thought they were features!  :D
Title: Re: Close file without closing LGM/ENIGMA
Post by: Josh @ Dreamland on August 01, 2014, 06:58:38 am
If a second project opens in LateralGM without closing the first, that's a bug. A bad bug. If you hit save, you WILL save the contents of both games to the newly opened project if that really happened. And you will have duplicate IDs, and your game will be very hard to salvage.

The new button is the only way we have of "closing" a project, because it does not support loading two projects. Are you able to get it to load one project over another? Could you screencap it and/or file a bug?
Title: Re: Close file without closing LGM/ENIGMA
Post by: edsquare on August 01, 2014, 09:38:58 am
If a second project opens in LateralGM without closing the first, that's a bug. A bad bug. If you hit save, you WILL save the contents of both games to the newly opened project if that really happened. And you will have duplicate IDs, and your game will be very hard to salvage.

The new button is the only way we have of "closing" a project, because it does not support loading two projects. Are you able to get it to load one project over another? Could you screencap it and/or file a bug?

It didn't happen always, only some times, dont remeber exactly what I did before it did happen, tried to replicate a minute ago and I can open a project and LGM closes the previous. If it happens again I'll make sure to get a screenshot.