One-windowed IDE?

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
HotColdLava
Posts: 4
Joined: Tue Oct 21, 2014 6:28 am

One-windowed IDE?

Post by HotColdLava » Tue Oct 21, 2014 6:34 am

I'm brand new to LiveCode, as a refuge from Xojo. However, I would LOVE to see a "one windowed" style for the IDE.

The "multiple window" aspect of this IDE is the only thing that bugs me ;)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: One-windowed IDE?

Post by dunbarx » Tue Oct 21, 2014 2:31 pm

Hi.

Not sure what you mean. You may have as many windows open as you wish, including one. Having the power and flexibility to have more, should you want to, could only be a good thing. I am sure I am misunderstanding your point.

Craig Newman

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: One-windowed IDE?

Post by dave.kilroy » Tue Oct 21, 2014 3:09 pm

Craig I wonder if HotColdLava means having the IDE in one window like Xojo and Visual Studio and Xcode do it (rather than having separate floating windows for code editor, tool bar etc)

HotColdLava if this is the case then you might be interested in this newsletter article by Mats Wilstrand on his rIDE project http://newsletters.livecode.com/februar ... tter2.html

Kind Regards

Dave

PS: in the beginning I also didn't like the multi-window approach LC takes but now I quite like it (for example if you work on multiple screens you can maximise the code editor on one monitor and have everything else on the other...
"...this is not the code you are looking for..."

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

Re: One-windowed IDE?

Post by FourthWorld » Tue Oct 21, 2014 4:25 pm

The challenge with LC is that it differs from most other development environments in its absence of a compile-runtime cycle.

In XCode, Xojo, or VB, for example, the "window" you're laying out controls in isn't a window per se at all, but a proxy of a window that will be created later after you compile.

With LC, the window you're building is also the window you'll run - indeed, it actually is running even in the IDE - truly "live code".

So given that the window is a real window rather than a proxy, attaching the various toolbars to it would turn your window into the IDE's window, obviating opportunities for seeing the true, "live" runtime behavior which characterizes LC.

But I agree that for many, esp. those familiar with the proxy-oriented IDEs, it would be nice to bind all the windows together. And apparently this isn't lost on the folks at RunRev either:

They've been exploring options for having a single-window IDE, though I'm not sure I would expect it for v8.0. While this would make LC more comfortable for newcomers accustomed to other tools, I hope it's done as an option, and that we retain the ability to do true live coding with independent windows, since some of the things we code have to do with the interactions between windows.

Single-window IDEs can be helpful for some aspects of layout, but in practice we really only work on layout a minority of the full time over a project. Most of our time is spent in coding, where working on window interactions is extremely valuable.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

HotColdLava
Posts: 4
Joined: Tue Oct 21, 2014 6:28 am

Re: One-windowed IDE?

Post by HotColdLava » Tue Oct 21, 2014 8:14 pm

FourthWorld wrote:The challenge with LC is that it differs from most other development environments in its absence of a compile-runtime cycle.

In XCode, Xojo, or VB, for example, the "window" you're laying out controls in isn't a window per se at all, but a proxy of a window that will be created later after you compile.

With LC, the window you're building is also the window you'll run - indeed, it actually is running even in the IDE - truly "live code".

So given that the window is a real window rather than a proxy, attaching the various toolbars to it would turn your window into the IDE's window, obviating opportunities for seeing the true, "live" runtime behavior which characterizes LC.

But I agree that for many, esp. those familiar with the proxy-oriented IDEs, it would be nice to bind all the windows together. And apparently this isn't lost on the folks at RunRev either:

They've been exploring options for having a single-window IDE, though I'm not sure I would expect it for v8.0. While this would make LC more comfortable for newcomers accustomed to other tools, I hope it's done as an option, and that we retain the ability to do true live coding with independent windows, since some of the things we code have to do with the interactions between windows.

Single-window IDEs can be helpful for some aspects of layout, but in practice we really only work on layout a minority of the full time over a project. Most of our time is spent in coding, where working on window interactions is extremely valuable.
Generally, I have no problems with designing the interface in an separate window. (Think pre-Xcode 4). However, I wouldn't mind having all of the tools (Inspectors, GUI Component Picker, etc) jumbled up into one Window, like the rIDE mentioned.


I guess I'm just new to this whole concept of Proxy IDEs. I would love to see a fullscreen option though ;)

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: One-windowed IDE?

Post by jacque » Wed Oct 22, 2014 4:26 pm

A single window interface would get in my way on those occasions when I need to compare a LiveCode field with a text document, or an imported image with the original. Photoshop makes me crazy with that. But that's probably just me.

You can sort of simulate it by turning on the backdrop though. It isn't the same but visually it's sort of comparable.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10076
Joined: Fri Feb 19, 2010 10:17 am

Re: One-windowed IDE?

Post by richmond62 » Wed Oct 22, 2014 5:23 pm

One of the things that came up in the Kickstarter campaign was a mockup of a single-window environment.

Whether that will ever materialise I don't know:
if it does I hope RunRev retains the option to have the current
interface as I much prefer it to a single windowed interface.

Sean O'Connor
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 21
Joined: Sat Mar 16, 2013 7:06 pm

Re: One-windowed IDE?

Post by Sean O'Connor » Fri Oct 24, 2014 1:59 pm

Goodness I had almost forgotten about that one!!! I guess with the use of multiple monitor setups it was ultimately considered not a viable option.but it did look interesting and not too cluttered either(not that there is anything wrong with the current IDE) although bigger fonts on the menues wouldn't go amis or compatability with tts technology. then RR could say with complete honesty "anyone can code"( except for little toddlers of course) Ok maybe i'm stretching the boundaries a bit on the tts compliance, but then...... who knows?? :D
when the going gets tough the tough get going.

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

Re: One-windowed IDE?

Post by FourthWorld » Fri Oct 24, 2014 3:33 pm

richmond62 wrote:One of the things that came up in the Kickstarter campaign was a mockup of a single-window environment.

Whether that will ever materialise I don't know:
if it does I hope RunRev retains the option to have the current
interface as I much prefer it to a single windowed interface.
Given that layout tasks are the only ones that benefit from a single-window UI, and that layout tasks comprise a minority of the time we spend on a project, I'd wager they'll make any single-window UI purely optional.

In most IDEs there's a very slender relationship between UI and code, so simulating windows with a proxy works well enough. With LiveCode, of course, code and objects are tightly integrated, and once we consider things like multi-card stacks it becomes clear that a simple simulated proxy won't cut it for us.

Such a UI would require adding a new object to the mix.

In Gain Momentum (a great Unix xTalk originally made by Sybase in the mid-90s and later sold to another company and ported to Windows, where it's fallen into relative obscurity under a different name since) they had a control type called "Viewer", in which you could set a property that refers to another stack and that stack would be rendered within the Viewer. And not merely rendered: its entire message path within the viewer reflected the message path of the stack being viewed, so interactions with it were pretty much as you'd expect if the stack were opened in its own window - only within a Viewer it happens to appear within another stack.

Powerful stuff. Way beyond groups, and useful not only for making a single-window UI but for a great many other things for our own projects as well.

The idea's been floating around in the community for some time:
http://quality.runrev.com/show_bug.cgi?id=2786

This is what's needed for a single-window UI, and given the anticipated complexity of it I wouldn't expect to see it in v8.0, or maybe not even by 8.5, given the range of things they need to do for Open Language, Widgets, and Themes, and the various other Road Map goals dependent on those.

This is more or less what they're considering to be able to deliver a single-window UI option. So yes, it's something they've been exploring, but no, I wouldn't expect to see it until deeper foundational elements are in place first.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: One-windowed IDE?

Post by [-hh] » Fri Oct 31, 2014 8:29 am

I second jacque's remark:

You can have this even better with a (virtual) backdrop. "Backdrops" can be one or more substacks with some features (I made a very basic approach to this for the RaspberryPi where LC's backdrop doesn't work).

This implies you can also easily switch from one view to another view (different or no backdrop) and use several monitors (virtual screens) for different collections of your current open set of windows.

One of the main advantages of LC is that one is never forced to be hierarchical or to have a proper desktop. To be creative implies (for me) to have a chaotic desktop, on my monitor as in real life.

So yes, have a one-windowed IDE, but only as a (non-default) option.
shiftLock happens

Post Reply