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

Not catching the first word in a camel case #289

Closed robertson-bauercontrols closed 1 year ago

robertson-bauercontrols commented 1 year ago

I'm hoping it's just a misunderstanding, but I can't figure out why the spell checker won't detect the word 'expor' at the start of my camel case word. It catches the error in the comment above.

image


<?xml version="1.0" encoding="utf-8"?>
<!-- Visual Studio Spell Checker configuration file - [https://github.com/EWSoftware/VSSpellChecker]
     Do not edit the XML.  Use the configuration file editor in Visual Studio to modify the settings. -->
<SpellCheckerConfiguration Format="2018.8.16.0">
  <InheritAdditionalDictionaryFolders>False</InheritAdditionalDictionaryFolders>
  <AdditionalDictionaryFolders>
    <Folder>.\dictionaries\custom</Folder>
  </AdditionalDictionaryFolders>
  <SelectedLanguages>
    <LanguageName>en-US</LanguageName>
  </SelectedLanguages>
  <InheritIgnoredClassifications>True</InheritIgnoredClassifications>
  <IgnoredClassifications />
  <InheritIgnoredWords>False</InheritIgnoredWords>
  <IgnoredWordsFile>dictionaries\ignored\ignored.dic</IgnoredWordsFile>
  <InheritExclusionExpressions>True</InheritExclusionExpressions>
  <InheritIgnoredFilePatterns>True</InheritIgnoredFilePatterns>
  <InheritXmlSettings>True</InheritXmlSettings>
  <DetermineResourceFileLanguageFromName>False</DetermineResourceFileLanguageFromName>
  <SpellCheckAsYouType>True</SpellCheckAsYouType>
  <IncludeInProjectSpellCheck>True</IncludeInProjectSpellCheck>
  <DetectDoubledWords>True</DetectDoubledWords>
  <IgnoreFormatSpecifiers>True</IgnoreFormatSpecifiers>
  <IgnoreFilenamesAndEMailAddresses>True</IgnoreFilenamesAndEMailAddresses>
  <IgnoreXmlElementsInText>True</IgnoreXmlElementsInText>
  <TreatUnderscoreAsSeparator>True</TreatUnderscoreAsSeparator>
  <CSharpOptions>
    <IgnoreXmlDocComments>False</IgnoreXmlDocComments>
    <IgnoreDelimitedComments>False</IgnoreDelimitedComments>
    <IgnoreStandardSingleLineComments>False</IgnoreStandardSingleLineComments>
    <IgnoreQuadrupleSlashComments>False</IgnoreQuadrupleSlashComments>
    <IgnoreNormalStrings>False</IgnoreNormalStrings>
    <IgnoreVerbatimStrings>False</IgnoreVerbatimStrings>
    <IgnoreInterpolatedStrings>False</IgnoreInterpolatedStrings>
    <ApplyToAllCStyleLanguages>True</ApplyToAllCStyleLanguages>
  </CSharpOptions>
  <IgnoredWords />
  <IgnoreWordsInMixedCase>False</IgnoreWordsInMixedCase>
  <IgnoreWordsWithDigits>False</IgnoreWordsWithDigits>
  <IgnoreWordsInAllUppercase>False</IgnoreWordsInAllUppercase>
  <IgnoreMnemonics>False</IgnoreMnemonics>
  <IgnoreCharacterClass>NonLatin</IgnoreCharacterClass>
</SpellCheckerConfiguration>
EWSoftware commented 1 year ago

Have you upgraded to the latest release? The configuration above is the old format. The new one uses an .editorconfig format for the global settings file as well but does leave the old file around for older versions of Visual Studio that don't use the new format.

Also, due to many complaints, I disabled most of the identifier spell checking options so that it effectively only checks the public API by default. You can adjust the settings in the Code Analyzer category of the configuration to enable it for private, internal, and member body identifiers. Also, it only checks spelling on the declaration, not usage within other methods. Fixing the spelling on the declaration will change it throughout the code base.

robertson-bauercontrols commented 1 year ago

I have not gone through the upgrade, I'll do that soon, thanks!