diff --git a/src/OneWare.Essentials/Controls/SearchBox.axaml.cs b/src/OneWare.Essentials/Controls/SearchBox.axaml.cs index cf1e36d..f7a69f0 100644 --- a/src/OneWare.Essentials/Controls/SearchBox.axaml.cs +++ b/src/OneWare.Essentials/Controls/SearchBox.axaml.cs @@ -34,7 +34,7 @@ public SearchBox() { InitializeComponent(); - SearchTextBox.WhenValueChanged(x => x.Text).Subscribe(x => OnTextAddedEvent()); + SearchTextBox.WhenValueChanged(x => x.Text).Subscribe(_ => OnTextAddedEvent()); KeyDown += SearchTextBox_KeyDown; } diff --git a/src/OneWare.Essentials/LanguageService/TypeAssistanceLanguageService.cs b/src/OneWare.Essentials/LanguageService/TypeAssistanceLanguageService.cs index 48b6398..6b3f676 100644 --- a/src/OneWare.Essentials/LanguageService/TypeAssistanceLanguageService.cs +++ b/src/OneWare.Essentials/LanguageService/TypeAssistanceLanguageService.cs @@ -510,22 +510,20 @@ protected virtual void TextEnteredAutoFormat(TextInputEventArgs e) protected virtual async Task UpdateSymbolsAsync() { LastDocumentSymbols = await Service.RequestSymbolsAsync(CurrentFile.FullPath); - - return; - if (LastDocumentSymbols is not null) - { - var segments = LastDocumentSymbols - .Where(x => x.IsDocumentSymbolInformation && x.SymbolInformation != null) - .Select(x => x.SymbolInformation!.Location.Range.GenerateTextModification(Editor.CurrentDocument, Brushes.Chocolate)) - .ToArray(); - - Editor.Editor.ModificationService.SetModification("symbol", segments); - } - else - { - Editor.Editor.ModificationService.ClearModification("symbols"); - } + // if (LastDocumentSymbols is not null) + // { + // var segments = LastDocumentSymbols + // .Where(x => x.IsDocumentSymbolInformation && x.SymbolInformation != null) + // .Select(x => x.SymbolInformation!.Location.Range.GenerateTextModification(Editor.CurrentDocument, Brushes.Chocolate)) + // .ToArray(); + // + // Editor.Editor.ModificationService.SetModification("symbol", segments); + // } + // else + // { + // Editor.Editor.ModificationService.ClearModification("symbols"); + // } } protected virtual async Task ShowSignatureHelpAsync(SignatureHelpTriggerKind triggerKind, string? triggerChar, bool retrigger, SignatureHelp? activeSignatureHelp)