New feature: File->Open to load a workspace
Users of APL on the Mac (where RIDE is the default UI) expect to have a menu item to load a new workspace.
This probably needs a new protocol message to tell the interpreter to load the workspace.
It's OK if this is only available when RIDE and APL are running on the same machine, and/or only when RIDE has spawned the interpreter.
I've just re-discovered that RIDE already supports drag-n-dropping a workspace onto the RIDE window, when the interpreter is running locally. See the code at the end of init.js. But that works by injecting ")load xxx.dws" into the session, which is a bit naff.
I've raised Mantis 15083 to define new protocol messages and support them in the interpreter.
Added the menu option, but it uses the same technique as the drag-n-drop. Once the protocol has been updated we can revisit this.
Cool. It's a bit nasty that the menu option is present but does nothing when connected to a remote interpreter.
"But that works by injecting ")load xxx.dws" into the session, which is a bit naff."
I disagree. That is exactly how it should be. And it should print "}XLOAD" to the session rather than ")LOAD"
To me the modal dialog box looks naff
Also, anything printed to the session can be modified before actually executing it, for example ")load" can become ")copy"