A browser that does refactoring in Smalltalk Pharo?

The Pharo dev image comes with a browser by default, which does not appear to have any refactoring capabilities. What is the most convenient way to turn a new headlamp image into something more useful?

+4
source share
2 answers

You either download Pharo Developer Image from the download section of the Pharo Website (it contains a set of developer tools, including a refactoring mechanism), or you use the following script in Pharo Core Image :

"Refactoring" Gofer new squeaksource: 'rb'; package: 'AST-Core'; package: 'Refactoring-Core'; package: 'Refactoring-Spelling'; load. "OmniBrowser" Gofer new renggli: 'omnibrowser'; package: 'OmniBrowser'; package: 'OB-Standard'; package: 'OB-Morphic'; package: 'OB-Shout'; package: 'OB-Refactory'; package: 'OB-Regex'; package: 'OB-SUnitIntegration'; load. "Tools" Gofer new renggli: 'unsorted'; package: 'Shout'; package: 'RoelTyper'; package: 'ECompletion'; package: 'ECompletionOmniBrowser'; load. "Select Tools" SystemBrowser default: (Smalltalk at: #OBSystemBrowserAdaptor). 
+4
source

Can you tell me which particular Pharo image you uploaded? since refactoring tools and several other developer tools are sent by default in Pharo images.

Check out the following link: http://gforge.inria.fr/frs/download.php/26681/Pharo-1.0-10515-rc3dev10.03.1.zip

which I received from http://www.pharo-project.org/pharo-download

thanks

+2
source

Source: https://habr.com/ru/post/1305131/


All Articles