ChoicescriptIDE / ChoicescriptIDE/main

Spelling CodeAction triggering is far too aggressive

Open
#109 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
36
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Whenever there is a selection change, any (and all!) spelling mistakes in the selection will have their 'quickfix' code actions calculated. This can tank application performance with nothing more than a simple 'CTRL+A', as demonstrated in the gif below:

![spellperf](https://user-images.githubusercontent.com/3001447/98052807-16380b80-1e2f-11eb-82d5-e58d392e5fb0.gif)

We need to come up with a way to limit this, for e.g. only provide suggestions when the context is the size of the word (or smaller).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.