I am pleased to see the explanation of OCompletion. I had noticed that it seemed to become smarter as I continued to work :).
On Thu, 18 Nov 2010, Guido Stepken wrote:By default OCompletion only knows about methods in Kernel* and Collection* packages. SmalltalkImage is in System*. You can add extra packages by evaluating [OCompletionTable initializeWithPackages]. You could even write * as the filter, but it's very slow in Pharo 1.1 and OCompletion will lose most entries, because it only caches 40 methods per two letter prefix. I'm thinking about increasing that, because it's sometimes really annoying.
Beginners Bugs in Pharo 1.1 on Linux:
In System Browser i choose Tools-Base->Workspace->initization->initialize
and see code
os := (Smalltalk platformName)
hmmm.
I open Shout Workspace, type Smalltalk pl ... and i get 'platformFamily' suggested. No 'platformName' offered by Shout completion mode.
When you're typing you rarely use the mouse. The arrows are more conventional. If you need that feature, then open an issue on the Pharo tracker.
And: I cannot choose from other offers in suggestion list by clicking with mouse. Why?
You could use the halos to delete it, but they are disabled in Pharo by default.
Linux Problem?
Next example: In Shout Workspace i enter: TTSampleFontMorph new openInWorld. <ALT-P>
I get an error and a ghostframe, that i cannot delete. And: Completion mode
TTSamlpe* is in Morphic* (see above why that matters).
when i enter TTSample ... does not work. Fuck!
Shout doesn't do code completion. If you're talking about the Alt-Q (Cmd-Q) completion, then it's really bugged in Pharo.
What are you guys thinking of your work on Pharo, e.g. quality testing?
Did you never notice, that even the basics of completion mode in Shout Browser are buggy?
If you think that you've found a bug in OCompletion, then open an issue in the Pharo issue tracker.Are those bad?
Then i open in World Menu: Tools->Filebrowser i get Error:Invalid utf8 input detected
We need a perfectly running Pharo on Linux/Wine (Ubuntu 9.10). And no, no MAC here anywhere in schools in germany.
Can you imagine, that a teacher and his pupils drive mad on such simple bugs?
So i have to teach with SCRATCH or BYOB in class. No serious bugs, no problems.
Levente
regards, Guido Stepken