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 crash #212

Closed djmarcus1 closed 4 years ago

djmarcus1 commented 4 years ago

I got this crash of the spell checker:

System.NullReferenceException : Object reference not set to an instance of an object. at IntelliSenseExtender.Extensions.SemanticModelExtensions.GetTupleTypeFromReturnValue(ITypeSymbol returnTypeSymbol,Int32 elementIndex) at IntelliSenseExtender.Extensions.SemanticModelExtensions.GetTypeSymbol(SemanticModel semanticModel,SyntaxToken currentToken) at async IntelliSenseExtender.Context.SyntaxContext.CreateAsync() at async IntelliSenseExtender.IntelliSense.Providers.AggregateTypeCompletionProvider.ProvideCompletionsAsync() at async Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetContextAsync() at async Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.ComputeNonEmptyCompletionContextsAsync() at async Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetCompletionsWithAvailabilityOfExpandedItemsAsync() at async Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders.GetCompletionsAsync() at async Microsoft.CodeAnalysis.SpellCheck.AbstractSpellCheckCodeFixProvider1.CreateSpellCheckCodeIssueAsync[TSimpleName](<Unknown Parameters>) at async Microsoft.CodeAnalysis.SpellCheck.AbstractSpellCheckCodeFixProvider1.CheckNodeAsync[TSimpleName]() at async Microsoft.CodeAnalysis.SpellCheck.AbstractSpellCheckCodeFixProvider`1.RegisterCodeFixesAsync[TSimpleName]() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformActionAsync()

EWSoftware commented 4 years ago

That's not mine. It looks like it's part of the Microsoft code analysis spell checking. I don't currently have a code analysis spell checker, just an editor extension. Mine will make use of the code analysis dictionaries but only for spell checking the strings and comments as performed by the editor extension. It doesn't integrate with code analysis at all.

djmarcus1 commented 4 years ago

I'll report it to Microsoft.. thanks