I'm cross posting this because my question is both about Squeak Trunk and Pharo. Feel free to respond only in your respective lists if you want. I'm running on Snow Leopard. I'm getting a package ready that I want to publish, and I wanted to
test it on both on Pharo and Squeak Trunk, and both are bothering me a little.
Squeak - I'm using the latest pre-built trunk image, updated with the update button. The command-r (pretty print) shortcut only seems to work if the selectors list has the mouse focus, not the code pane. Then after pretty printing, to save the source, I have to move the mouse focus back to the code pane, where command-s will save the change. If I have to move the mouse around what good is the shortcut? Pharo - I using the latest Pharo 1.0 release candidate (dev not core) It seems like the coloring, and automatic completion work right out of the box, but when I choose "format" from the code pane context menu, nothing happens. Do I need to load something else? Also, if it were to work, what would I have to do to get a keyboard shortcut for it. Since so many of you write so much more code than me, I imagine that there are simple solutions. And while we're here, I wouldn't mind some suggestions regarding how to "pimp my image" so to speak, to make the development flow better. Thanks, Mike Mike Hales Engineering Manager KnowledgeScape www.kscape.com _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Thanks Mike for the mail. Don't be shame, just report the issues. Thanks Stan!!! Be aware that that code will load just O2 (the core), without code completion, refactoring integration, etc. If you want the complete O2 you should install it in this way:
((Smalltalk at: #ConfigurationOfO2) project version: '1.0') load: 'Dev' Cheers Mariano _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Mike Hales
Mike, In Pharo, it looks like format works some of the time in Omnibrowser (the default). I haven't got to the bottom of when/how; it should probably be a bug report. The pretty print in Omnbrowser2 is reliable. Do you use this (O2)? The instructions to load are in the external projects workspace, for which there are instructions in the welcome workspace DEVImageWorkspaces openExternalProjectWorkspace Then Gofer new squeaksource: 'MetacelloRepository'; package:'ConfigurationOfO2'; load. (Smalltalk at: #ConfigurationOfO2) perform: #loadDefault. Use the menu of any browser to change to a new default browser O2PackageBrowserAdaptor. I think there's a problem with the shortcut at the moment, related to this issue: http://code.google.com/p/pharo/issues/detail?id=1312&q=shortcut&colspec=ID%20Type%20Status%20Summary%20Milestone I'll open/reopen an issue ticket for that. http://code.google.com/p/pharo/issues/detail?id=1886&sort=-id&colspec=ID%20Type%20Status%20Summary%20Milestone If you don't use the package browser of O2, you might find it saves some clicks saving, updating to/from Monticello, also you can run tests directly from there. Do you use Lint (code critics). I think of it as my pair programming partner. There are videos at: http://www.lukas-renggli.ch/blog/ob-rb-3 Hope some of this is of help, ...Stan |
cool answer!
Thanks! On Jan 28, 2010, at 10:16 AM, Stan Shepherd wrote: > > > Mike Hales wrote: >> >> Pharo - I using the latest Pharo 1.0 release candidate (dev not core) It >> seems like the coloring, and automatic completion work right out of the >> box, >> but when I choose "format" from the code pane context menu, nothing >> happens. >> Do I need to load something else? >> > Mike, > In Pharo, it looks like format works some of the time in Omnibrowser (the > default). I haven't got to the bottom of when/how; it should probably be a > bug report. > > The pretty print in Omnbrowser2 is reliable. Do you use this (O2)? The > instructions to load are in the external projects workspace, for which there > are instructions in the welcome workspace > > > DEVImageWorkspaces openExternalProjectWorkspace > > Then > > Gofer new > squeaksource: 'MetacelloRepository'; > package:'ConfigurationOfO2'; > load. > > (Smalltalk at: #ConfigurationOfO2) perform: #loadDefault. > > Use the menu of any browser to change to a new default browser > O2PackageBrowserAdaptor. > > >> Also, if it were to work, what would I >> have to do to get a keyboard shortcut for it. >> > I think there's a problem with the shortcut at the moment, related to this > issue: > http://code.google.com/p/pharo/issues/detail?id=1312&q=shortcut&colspec=ID%20Type%20Status%20Summary%20Milestone > I'll open/reopen an issue ticket for that. > http://code.google.com/p/pharo/issues/detail?id=1886&sort=-id&colspec=ID%20Type%20Status%20Summary%20Milestone > http://code.google.com/p/pharo/issues/detail?id=1886&sort=-id&colspec=ID%20Type%20Status%20Summary%20Milestone > > >> Since so many of you write so much more code than me, I imagine that there >> are simple solutions. And while we're here, I wouldn't mind some >> suggestions >> regarding how to "pimp my image" so to speak, to make the development flow >> better. >> > If you don't use the package browser of O2, you might find it saves some > clicks saving, updating to/from Monticello, also you can run tests directly > from there. > > Do you use Lint (code critics). I think of it as my pair programming > partner. There are videos at: > http://www.lukas-renggli.ch/blog/ob-rb-3 > http://www.lukas-renggli.ch/blog/ob-rb-3 > > > Hope some of this is of help, ...Stan > > > -- > View this message in context: http://n4.nabble.com/Code-Formatting-tp1312264p1343764.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |