EWSoftware / VSSpellChecker

A Visual Studio spell checker editor extension that checks the spelling of comments, strings, and plain text as you type. Supports configuration and various languages.
Other
377 stars 65 forks source link

spell checker does not work on variable names and multi-word variable #235

Closed zoha-shobbar closed 2 years ago

zoha-shobbar commented 3 years ago

spell checker does not work on variable names and multi-word variables. as you see in this snapshot, the variable name helloe has a typo and should change to hello, also in the string halloGoogle there is a typo that is not recognized by the extension. ![Uploading image.png…]()

EWSoftware commented 3 years ago

Please read the project description. This extension does not spell check source code elements such as variable names, API member names, etc., just the string literals and comments. Spell checking the code elements will require a code analyzer (issue #111).

Your screenshot is not working so I can't see whether "halloGoogle" is in a string literal or is a variable name in the code. If in a string literal, not flagging it is normal as it's a mixed case word. You can alter how mixed case words are handled by changing the configuration settings (ignore words in mixed case).

zoha-shobbar commented 3 years ago

image

EWSoftware commented 3 years ago

My comments above apply with regard to the variable name and the mixed case word. Regarding "halloe", it should be spell checked. Try opening the interactive spell check tool window and see if the interactive checking is actually working.