languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.39k stars 1.39k forks source link

Double Click to synonyms when just reading text #4599

Open Mazino-Urek opened 3 years ago

Mazino-Urek commented 3 years ago

This is the current behavior which is great. image

When I double-click salient using Google Dictionary it has the settings to show synonyms but not in LT. image

This will be a very helpful feature that will be essential for non-native readers.

Thanks for this awesome FOSS software!

Mazino-Urek commented 3 years ago

Any update?

eldon922 commented 3 years ago

I need it too, it's a feature that Grammarly has, but LanguageTool doesn't. Maybe use this add-on for now https://addons.mozilla.org/en-US/firefox/addon/dictionary-anyvhere/. It's recommended by Firefox, so I think it's good. The minus is there is no dark mode.

Mazino-Urek commented 3 years ago

I need it too, it's a feature that Grammarly has, but LanguageTool doesn't. Maybe use this add-on for now https://addons.mozilla.org/en-US/firefox/addon/dictionary-anyvhere/. It's recommended by Firefox, so I think it's good. The minus is there is no dark mode.

I am currently using the extension. The sad part is LT already has this feature implemented. It only works in editor mode. Would love to see the feature reach its full potential.

grahamperrin commented 2 years ago

… only works in editor mode. …

For cases where the LanguageTool extension can not work in editor mode, this extension for Firefox might be the best complement:

– through its context menu, results at www.thesaurus.com can appear in a new tab.

https://addons.mozilla.org/addon/synonyms-net/reviews/1131135/ not a good review from me in 2018, when I found that it did "not work with the editable field when writing a comment at GitHub", however this is no longer true; I should delete the old review and add a new one with reference to https://forum.languagetool.org/t/-/7507/5?u=grahamperrin.

grahamperrin commented 2 years ago

Double Click to synonyms when just reading

If the feature is added, it should be optional, and not enabled by default.

When enabled, there should be the option to have the dialogue appear only if a user-definable modifier key is pressed and held prior to the double click.

Thanks

Mazino-Urek commented 2 years ago

I use this: https://addons.mozilla.org/en-US/firefox/addon/dictionary-anyvhere/

Yes, it should be optional, but the functionality is already there. Currently, it is a wasted opportunity.

grahamperrin commented 2 years ago

https://github.com/languagetool-org/languagetool/issues/4599#issuecomment-891518817 | https://github.com/languagetool-org/languagetool/issues/4599#issuecomment-999369255 I tried it, got definitions. Not synonyms.

Mazino-Urek commented 2 years ago

It only provides synonyms.

grahamperrin commented 2 years ago

It only provides synonyms.

The description at https://addons.mozilla.org/addon/dictionary-anyvhere/ begins

View definitions

– and that's what's provided by the extension; definitions, not synonyms.

Observe:

  1. the synonyms (not provided by Dictionary Anywhere) in the window to the left
  2. from Dictionary Anywhere, the phrase q=define in the URL hint at the foot of the window to the right

image

Mazino-Urek commented 2 years ago

Sorry, I miswrote. I meant to say it only provides definition, not synonyms.

grahamperrin commented 2 years ago

FYI English Popup Thesaurus.

I stopped using it long ago because it's too intrusive; it lacks the option described above.

https://github.com/hrai/english-popup-thesaurus/issues?q=is%3Aissue+sort%3Aupdated-desc+author%3Agrahamperrin