Hi and welcome!
2016-10-01 18:29 GMT+02:00 CodeDmitry <[email protected]>:
> I have a course at my university where I have to use Pharo for assignments.
>
> I have a few questions about the Pharo environment.
>
> 1. Is it possible to turn off Pharo's "'" and "()" matching? If so how?
>
In Settings Browser (World menu -> System -> Settings)
Code Browser - > Code Completion -> Smart Characters
>
> 2. Is it possible to use system fonts in Pharo? If so how?
>
Again, Sytem Browser
Appearance -> Standard Fonts -> Select an entry , this will open the font
chooser. In the font chooser presse "update" and it will load the available
system fonts.
>
> 3. Is it possible to prevent Pharo from screwing up indenting of my class
> definitions when I save?(It keeps replacing leading spaces with a tab). If
> so how?
>
No, I don't think so. It just prints the class definition, not based on
your input but just the definition. What is the problem with this, why do
you need spaces instead of tabs?
>
> 4. How can I create a Pharo package from Playground using code?
>
> 5. How can I create a Pharo class from Playground using code?
>
The code for creating a class is just the same as the class definition you
see in the system browser
Object subclass: #NameOfYourNewClass
instanceVariableNames: ''
classVariableNames: ''
package: ''
You can evaluate this code in a playground and it will create this class
> I suspect 4 and 5 are possible because Pharo allows dynamic
> insertion/removal of methods from classes using the class method dictionary
> and runtime compile.
>
> Thanks ahead of time!
>
>
Feel free to ask more questions :)
And take a look at the pharo books -> http://files.pharo.org/books/
>
>
>
> --
> View this message in context: http://forum.world.st/New-to-
> Pharo-a-bunch-of-questions-tp4917701.html
> Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
>
>