IDE 'Reset'

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dglass
Posts: 519
Joined: Thu Sep 24, 2009 9:10 pm
Contact:

IDE 'Reset'

Post by dglass » Wed May 11, 2011 6:40 am

I often am working on more than one project at a time, and am trying to come up with a way to do it in LC, particularly when using the GLX framework which creates a bunch of support stacks.

LC doesn't allow duplicate stack names, so when I go to open another project I get the 'Close, Purge, Cancel' (or whatever it is) message, and I have to select Purge in order to completely remove the first project's stacks, and load the second project's stacks.

The brute force way would be to have multiple copies of LC running, but that is not really ideal, IMO.

My second thought (the first one was multiple copies of LC), was a command (or series) in the Message Box that would save, close, and remove from memory everything in the Application Browser, with the end result being an empty Application Browser ready to be repopulated when I open the next project.

My third thought was to ask here to see if anybody had any other ideas. I'd be interested in hearing if other people have this same issue (maybe it's just me), and if so how you've solved, or worked around, it.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: IDE 'Reset'

Post by BvG » Wed May 11, 2011 1:16 pm

One way is to have the shared stuff only in the IDE once, and then add them to each project only when building a standalone. You could also not make parts of the the project be stacks, but instead (for example) cards. Or rename the stack...

I agree that it is hard to do.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: IDE 'Reset'

Post by FourthWorld » Wed May 11, 2011 3:05 pm

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

MikeinHawaii
Posts: 90
Joined: Mon Jan 18, 2010 10:53 am

Re: IDE 'Reset'

Post by MikeinHawaii » Wed May 11, 2011 6:16 pm

Alternate thinking: Setup your computer with multiple users. One user is your current project. One user is "your other" current project. And so forth..... Assuming of course your system will be able to handle this without too much of a hit on performance.. There won't be any crossover issues using this approach. I do this with Filemaker projects and it works out quite nicely for the various features built into various versions of the product .

dglass
Posts: 519
Joined: Thu Sep 24, 2009 9:10 pm
Contact:

Re: IDE 'Reset'

Post by dglass » Wed May 11, 2011 6:35 pm

Unfortunately that breaks 'immersion' too much for me.

Thanks though. :)

MikeinHawaii
Posts: 90
Joined: Mon Jan 18, 2010 10:53 am

Re: IDE 'Reset'

Post by MikeinHawaii » Wed May 11, 2011 6:42 pm

I does help to have a Mac setup with "Fast User Switching" I admit. And for project user accounts I set the security to low levels with the same password on each so it works lightning quick.

Post Reply