Version 18 (modified by 11 years ago) ( diff ) | ,
---|
DicThesaurusRex
This dictionary and thesaurus extension allows Smalltalk developers to benefit from spelling correction and synonym search in their source code. It optionally extends code editors with a spelling correction that underlines unknown terms and typos. These annotations can either be corrected with suitable suggestions or always ignored in case of well-known abbreviations. Moreover, the thesaurus integration provides helpful advice during searching and programming. For example, the source code search has been extended to look also for similar terms and synonyms. As a result, the search results present developers not only exact but also semantic matches.
How to Install
Environment | |
4.4 | |
any, Mac requires spelling plugin, | |
Linux requires Hunspell | |
not tested | |
Sources | |
ConfigurationOfDicThesaurusRex | |
SwaUtilities |
Misc | |
SwaUtilities@SqueakSource |
Using Metacello, just run the following code in your workspace:
(Installer mc http: 'http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/') project: 'MetacelloRepository'; install: 'ConfigurationOfDicThesaurusRex'. (Smalltalk at: #ConfigurationOfDicThesaurusRex) load.
After installation, please check if all test are passing (category DicThesaurusRex-Tests)
How to Use
Preferences
First, enable the spell checker and thesaurus in Squeak's preferences (Tool bar -> Apps -> Preference Browser). The spell checker (DTR) category contains both options.
Dictionary Features
Depending on your browser misspelled words are highlighted in orange and underlined. After selecting the word and right-click a browser menu opens that suggests correctly spelled words. Once a specific word has been chosen, the typo will be replaced with it.
Please note: The spelling correction checks for Smalltalk code and is also able to find/replace typos in camel case notations.
Thesaurus Features
Acknowledgments
DicThesaurusRex has been developed as part of the software engineering I course at the hasso-plattner-institute, university of Potsdam (summer term 2013).
To date the following people contributed to this project:
- Daniel Neuschäfer-Rube
- Suhanyaa Nitkunanantharajah
- Michael Perscheid
- Jaqueline Pollak
- Jakob Reschke
Attachments (5)
- PreferenceBrowser.png (32.7 KB ) - added by 11 years ago.
- spellingCorrectionInCodeEditor.png (48.8 KB ) - added by 11 years ago.
- spellingCorrectionEditor.png (118.6 KB ) - added by 11 years ago.
- synonymSearch.png (50.5 KB ) - added by 11 years ago.
- synonymSuggestionInCodeEditor.png (13.7 KB ) - added by 11 years ago.
Download all attachments as: .zip