Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunnerh/altervista-thesaurus
A Visual Studio Code extension for looking up words in the altervista.org thesaurus.
https://github.com/brunnerh/altervista-thesaurus
visual-studio-code-extension
Last synced: 18 days ago
JSON representation
A Visual Studio Code extension for looking up words in the altervista.org thesaurus.
- Host: GitHub
- URL: https://github.com/brunnerh/altervista-thesaurus
- Owner: brunnerh
- License: mit
- Created: 2018-03-16T17:06:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T23:07:26.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T19:22:14.319Z (2 months ago)
- Topics: visual-studio-code-extension
- Language: TypeScript
- Size: 1.58 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Altervista Thesaurus
This is an extension for [Visual Studio Code](https://code.visualstudio.com/) which adds commands for looking up and replacing/inserting words via [thesaurus.altervista.org](http://thesaurus.altervista.org).
## Requirements
This extension requires getting a **free API key [from altervista](http://thesaurus.altervista.org/mykey)** 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`.
## Features
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.
![basic lookup](./readme-files/basic-lookup.gif)
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.
![language lookup](./readme-files/language-lookup.gif)
It is also possible to bind the synonyms command to a keyboard shortcut with `args` being set to a valid language key, e.g.:
```json
{
"key": "ctrl+l g",
"command": "altervista-thesaurus.synonyms",
"args": "de_DE"
},
```The lookup commands can also be invoked from the text editor context menu.
## Supported Languages
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