Hi all,
I thought I'd try my hand at making an integrated panel to store and make API requests for word definitions.
The general flow is:
- highlight a text selection
- right click to open the context menu and select the 'lookup' command
- see the requested definition in the panel and tweak the format to your liking
Currently I support two API endpoints, which is just enough for a primary lookup option and a fallback option. This can be specified in the advanced plugin settings.
On average, the wikipedia api does not return great results for use as dictionary queries, but it can return a link to topic or disambiguation page, which can be useful.
I hope some of you can find this helpful. Personally I think this could be an interesting tool for language learners if I could get access to some non-English APIs.
As always, please reach out to me with any feedback or requests!
