diff --git a/src/SharpIDE.Application/Features/Analysis/RoslynAnalysis.cs b/src/SharpIDE.Application/Features/Analysis/RoslynAnalysis.cs index a9ec65e..20595f7 100644 --- a/src/SharpIDE.Application/Features/Analysis/RoslynAnalysis.cs +++ b/src/SharpIDE.Application/Features/Analysis/RoslynAnalysis.cs @@ -123,7 +123,7 @@ public class RoslynAnalysis // _codeRefactoringProviders.AddRange(refactoringProviders); // } - await UpdateSolutionDiagnostics(); + await UpdateSolutionDiagnostics(cancellationToken); // foreach (var project in solution.Projects) // { // // foreach (var document in project.Documents) @@ -495,7 +495,7 @@ public class RoslynAnalysis { using var _ = SharpIdeOtel.Source.StartActivity($"{nameof(RoslynAnalysis)}.{nameof(GetCodeFixesForDocumentAtPosition)}"); await _solutionLoadedTcs.Task; - var document = await GetDocumentForSharpIdeFile(fileModel); + var document = await GetDocumentForSharpIdeFile(fileModel, cancellationToken); Guard.Against.Null(document, nameof(document)); var semanticModel = await document.GetSemanticModelAsync(cancellationToken); Guard.Against.Null(semanticModel, nameof(semanticModel)); diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs index edc7426..f17de13 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs @@ -502,7 +502,6 @@ public partial class SharpIdeCodeEdit : CodeEdit public override void _ConfirmCodeCompletion(bool replace) { - GD.Print("Code completion confirmed"); var selectedIndex = GetCodeCompletionSelectedIndex(); var selectedText = GetCodeCompletionOption(selectedIndex); if (selectedText is null) return;