On Tue, Dec 28, 2010 at 7:58 PM, Schwab,Wilhelm K <[hidden email]> wrote: I've never really given it any thought, and workspaces do the job, but I'll kick the tires. The first thing I noticed is that when it asks for a file name, it does not use a fileopen dialog :( Same for "new folder." I assume these things go under the image folder, but the dialogs would/should make that explicit. I see no way to turn off syntax highlighting, which I often do for my scripts because they contain more notes than code and the highlighting gets in the way. Hi Bill. I think both suggestions are good. Maybe you or Torsten have time to it. Basically, both can be done. Open a file dialog instead of just asking the name of the file / folder. And the other one, now that in pharo 1.2 we have the samlltalk and text editor, it would be easy. We can have "notes" and "scripts". Notes can just open a text editor (without colors and completion) and "scripts" a shout workspace with autocompletion + colors. Cheers mariano
|
My main problem is that I have not an image I use all the time. I have tons of images and I lost my scripts **ALWAYS** when I switch between them or use new ones :(.
Maybe Script manager solves my problem... I have to check it. On Tue, Dec 28, 2010 at 5:45 PM, Mariano Martinez Peck <[hidden email]> wrote:
|
On Tue, Dec 28, 2010 at 9:52 PM, Guillermo Polito <[hidden email]> wrote: My main problem is that I have not an image I use all the time. I have tons of images and I lost my scripts **ALWAYS** when I switch between them or use new ones :(. me too Maybe Script manager solves my problem... I have to check it. yes, because you can save the scripts in certain folder. Then you just need to import your folder. Even more...(be magic).. you can have your ConfigurationOfGuillermoPolitoImages which loads all the packages that you want and are not in the pharo dev image, and then, execute lots of scripts and post do its like this one. You can just evaluate by code, to read that folder and set it to ScriptManager... Having your own script/conf that prepares your image with your test is great.
|
In reply to this post by Mariano Martinez Peck
On looking at it, it appears not to really use folder and files. It might be more interesting to have a tree of scripts, which is what I did in QuickCode and have never regretted the decision. However, it looks like the help browser already does the needed tricks, and IMHO in a little nicer looking way too. Some of the more helpful buttons appear to be gone at the moment, but I suspect there is room to merge things to get the best of both.
________________________________________ From: [hidden email] [[hidden email]] On Behalf Of Mariano Martinez Peck [[hidden email]] Sent: Tuesday, December 28, 2010 3:45 PM To: [hidden email] Subject: [Pharo-project] ScriptManager [WAS] Re: recovering closed workspace On Tue, Dec 28, 2010 at 7:58 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]>> wrote: I've never really given it any thought, and workspaces do the job, but I'll kick the tires. The first thing I noticed is that when it asks for a file name, it does not use a fileopen dialog :( Same for "new folder." I assume these things go under the image folder, but the dialogs would/should make that explicit. I see no way to turn off syntax highlighting, which I often do for my scripts because they contain more notes than code and the highlighting gets in the way. Hi Bill. I think both suggestions are good. Maybe you or Torsten have time to it. Basically, both can be done. Open a file dialog instead of just asking the name of the file / folder. And the other one, now that in pharo 1.2 we have the samlltalk and text editor, it would be easy. We can have "notes" and "scripts". Notes can just open a text editor (without colors and completion) and "scripts" a shout workspace with autocompletion + colors. Cheers mariano BTW, Shout is amazing and is exceedingly helpful in the browsers and debugger. I try to mention that on the rare instances that highlighting is unwelcome. ________________________________________ From: [hidden email]<mailto:[hidden email]> [[hidden email]<mailto:[hidden email]>] On Behalf Of Mariano Martinez Peck [[hidden email]<mailto:[hidden email]>] Sent: Tuesday, December 28, 2010 1:26 PM To: [hidden email]<mailto:[hidden email]> Subject: Re: [Pharo-project] recovering closed workspace On Tue, Dec 28, 2010 at 7:16 PM, Guillermo Polito <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote: Why not having a popup asking "do you want to close it?" if it has changes? Just as any other text editor... that would be helpful, but annoying at the same time. (less than 5% of my workspace has content that I would regret of closing) Since I guess you are in a dev image, why just not using the tool Script Manager for those important workspaces with alot of stuff ? . With this you can save them and do what you want. At the same time, it is not annoying in all workspaces... cheers mariano On Tue, Dec 28, 2010 at 3:12 PM, sergio_101 <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote: On Tue, Dec 28, 2010 at 1:07 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>> wrote: > Not a perfect solution, but have you tried simply saving the text to a file? > yes.. i was just hoping for something a little more elegant.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 |
Free forum by Nabble | Edit this page |