Vscode-spell-checker: Checker is picking half words

Created on 13 Sep 2018  路  7Comments  路  Source: streetsidesoftware/vscode-spell-checker

Lately the spell checker has been picking some half words.

  • _constructor_ picked as _constr_
  • _individual_ picked as _individ_
  • _Virtual_ picked as _Virt_
  • _latitude_ picked as _latit_

And in one particular instance _SidemenuComponent_ became _omponent_.

It's not really an important matter, but I thought it was worth noting as there may be a bigger underlying problem.

Most helpful comment

Are you using ignoreRegExList? It is acting like u is being selected to be ignored. What kinds of files are you editing?

All 7 comments

@jpidelatorre is this still an issue?

@Jason3S Yes, it still is. It still appears here and there even with a new installation on a different computer.

Can you give me more details on when it happens? Does it fix itself?
What value are you using for the spell check delay?

image

The delay is set at 200ms. I don't think that is the problem because the issues appear every time I input one of the glitched words. It makes no difference whether I type them, paste them, or autocomplete them.

Even in fringe scenarios: If I have a line that reads "Sidemenu Component", the checker raises no issues. If I erase the space in between words, the checker picks "omponent" as an error. Same thing if I drag and drop the words together.

By the way, the checker has no problem with the word "component" other than when the letter "U" precedes it. Also, "constr" gets picked in "construct" and "constructor" but not in "constraint" or "constrict".

Coming to think of it, the errors always have something to do with the letter "U".

Oh, and, they never fix themselves. I've learned to accept I'll get errors everywhere.

Are you using ignoreRegExList? It is acting like u is being selected to be ignored. What kinds of files are you editing?

That was exactly the problem. I had this in the ignoreRegExList:

(0x|\\u)[a-f0-9]+

I don't remember having that set but, I must have it to use Javascript Unicode sequences. I fixed it by escaping the backslash.

I'll close this and walk back home in shame. Thank's a lot, @Jason3S. I couldn't have solved it without your guide.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mgroves picture mgroves  路  5Comments

alallier picture alallier  路  3Comments

ili101 picture ili101  路  3Comments

gandalfsaxe picture gandalfsaxe  路  6Comments

gandalfsaxe picture gandalfsaxe  路  3Comments