The plugin helps you in Sublime to find synonyms for the selected word and replace it with the chosen one.
To enable smart suggestions for alternatives to words that are not found in the thesaurus, PyEnchant must be installed in the external python environment. This can by done by running the command pip install -U pyenchant
in a terminal / command window.
-
If you use Package Control (http://wbond.net/sublime_packages/package_control), just install the
Thesaurus
plugin. -
Go to the next page and create a key:
http://thesaurus.altervista.org/mykey
- Change your User preferences (
[CMD|CTRL]+SHIFT+P
, search for User preferences) and add the previous key:
"thesaurus_api_key": "keyFromAltervista"
- Find your packages directory. If you don't know where it is, Sublime will help you. On Windows and Linux find the Browse Packages menu, on OSX follow the next menu structure:
1. Sublime Text 2
2. Preferences
3. Browse Packages
- Go to this folder in console
$ cd ~/Library/Application Support/Sublime Text 2/Packages # on OSX
- Install the package
$ git clone https://github.com/Nucc/Thesaurus
- Create an API key on Altervista.
http://thesaurus.altervista.org/mykey
- Add the API key to the Thesaurus.sublime-settings file:
{
"api_key": "pasteTheApiKeyHere"
}
Select the word and press (CMD/CTRL)+T
, or use the (CMD/CTRL)+SHIFT+P
combo and search for Thesaurus.
Fork it, fix it, send it. Create an issue here in Github if you have any trouble.
Please star the project if you like it! Thanks! :)