You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incremental reparse Index and length must refer to a location within the string. Parameter name: length
JetBrains Rider 2021.2 Build RD-212.4047.84 Date 2021-06-10T05:39:18.045+0000
--- EXCEPTION #1/3 [ArgumentOutOfRangeException]
Message = “Index and length must refer to a location within the string.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = length
StackTraceString = “
at System.String.Substring(Int32 startIndex, Int32 length)
at ReSharperPlugin.SpecflowRiderPlugin.Psi.GherkinKeywordProvider.GetKeywordsList(String language) in D:\a\SpecFlow.Rider\SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\Psi\GherkinKeywordProvider.cs:line 76
at ReSharperPlugin.SpecflowRiderPlugin.Psi.GherkinKeywordProvider.GetAllKeywords(String language) in D:\a\SpecFlow.Rider\SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\Psi\GherkinKeywordProvider.cs:line 31
at ReSharperPlugin.SpecflowRiderPlugin.Psi.GherkinLexer.UpdateLanguage(String language) in D:\a\SpecFlow.Rider\SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\Psi\GherkinLexer.cs:line 56
at ReSharperPlugin.SpecflowRiderPlugin.Psi.GherkinLexer.Advance() in D:\a\SpecFlow.Rider\SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\Psi\GherkinLexer.cs:line 174
at JetBrains.ReSharper.Psi.Parsing.TokenBuffer.ReScanUpToEnd(ILexer lexer)
at JetBrains.ReSharper.Psi.Files.CachedPsiFile.GetIncrementalReparseResult(TokenBuffer oldTokenBuffer, IBuffer newBuffer, ISecondaryRangeTransla
The text was updated successfully, but these errors were encountered:
Verified.
I'm not sure that language header should be highlighted too, because it's a proper line.
And it would be cool to suggest a quick fix to change the language.
STR:
# language:
ACTUAL:
https://youtrack.jetbrains.com/issue/DEXP-592129
The text was updated successfully, but these errors were encountered: