ChoicescriptIDE / main

32 stars 6 forks source link

Provide spelling quick fix options in the context-menu #122

Open CareyJWilliams opened 3 years ago

CareyJWilliams commented 3 years ago

It would be nice to provide the quick fix/context light bulb spelling options in the right-click context menu, as in pre-monaco (CodeMirror) CSIDE, as this is more familiar to users coming from word processors.

Unfortunately, VS Code/the monao-editor seems to discourage dynamic context menu items.

E.g. there is no API for modifying the context menu items in real-time. You can list actions/commands, but these are more suited to general cases rather than ones that are dynamic/contextually aware. https://github.com/streetsidesoftware/vscode-spell-checker/ seems to have a similar limitation at present. It'll be interesting to see if any vscode extensions have found a good way to tackle this.