This is an extension for Visual Studio Code which adds commands for looking up and replacing/inserting words via thesaurus.altervista.org.
This extension requires getting a free API key from altervista to function. Upon first use of the command, the user will be prompted for the key. The key can also be changed via the setting altervista-thesaurus.key
.
If there is a selection, the synonyms command will look up said selection and replace it if one of looked up words is selected. If there is no selection the user is prompted for input and any selected word will be inserted at the cursor.
The default lookup language can be set via the setting altervista-thesaurus.lang
. To look up a word in another language without changing this setting, another command ("Synonyms in Specified Language") can be invoked which prompts for language selection before lookup.
It is also possible to bind the synonyms command to a keyboard shortcut with args
being set to a valid language key, e.g.:
{
"key": "ctrl+l g",
"command": "altervista-thesaurus.synonyms",
"args": "de_DE"
},
The lookup commands can also be invoked from the text editor context menu.
The following languages are supported by the service:
- Czech
- Danish
- English (US)
- French
- German (Germany)
- German (Switzerland)
- Greek
- Hungarian
- Italian
- Norwegian
- Polish
- Portuguese
- Romanian
- Russian
- Slovak
- Spanish