resharper/resharper-unity/src/Unity.Shaders/CSharp/CodeCompletion/UnityCSharpShaderKeywordsCompletionProvider.cs [58:83]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private sealed class StringLiteralItem : TextLookupItemBase, IMLSortingAwareItem { public StringLiteralItem([NotNull] string text) { Text = text; } public override IconId Image => PsiSymbolsThemedIcons.Const.Id; public override MatchingResult Match(PrefixMatcher prefixMatcher) { var matchingResult = prefixMatcher.Match(Text); if (matchingResult == null) return null; return new MatchingResult(matchingResult.MatchedIndices, matchingResult.AdjustedScore - 100, matchingResult.OriginalScore); } public override void Accept( ITextControl textControl, DocumentRange nameRange, LookupItemInsertType insertType, Suffix suffix, ISolution solution, bool keepCaretStill) { base.Accept(textControl, nameRange, LookupItemInsertType.Replace, suffix, solution, keepCaretStill); } public bool UseMLSort() => false; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - resharper/resharper-unity/src/Unity/CSharp/Feature/Services/CodeCompletion/UnityUIElementsCompletionProvider.cs [59:84]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private sealed class StringLiteralItem : TextLookupItemBase, IMLSortingAwareItem { public StringLiteralItem([NotNull] string text) { Text = text; } public override IconId Image => PsiSymbolsThemedIcons.Const.Id; public override MatchingResult Match(PrefixMatcher prefixMatcher) { var matchingResult = prefixMatcher.Match(Text); if (matchingResult == null) return null; return new MatchingResult(matchingResult.MatchedIndices, matchingResult.AdjustedScore - 100, matchingResult.OriginalScore); } public override void Accept( ITextControl textControl, DocumentRange nameRange, LookupItemInsertType insertType, Suffix suffix, ISolution solution, bool keepCaretStill) { base.Accept(textControl, nameRange, LookupItemInsertType.Replace, suffix, solution, keepCaretStill); } public bool UseMLSort() => false; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -