void ShowDotCompletion(StackFrame frame, string currentText) { var binding = DebuggerDotCompletion.PrepareDotCompletion(currentText, new DebuggerCompletionContext(frame)); if (binding == null) { return; } binding.HandleKeyPressed(console.TextEditor, '.'); }
void ShowDotCompletion(StackFrame frame, string currentText) { var binding = DebuggerDotCompletion.PrepareDotCompletion(currentText, new DebuggerCompletionContext(frame)); if (binding == null) { return; } binding.HandleKeyPressed(console.TextEditor, '.'); SD.ParserService.ParseFileAsync(new ICSharpCode.Core.FileName(frame.NextStatement.Filename)).FireAndForget(); }
void ShowDotCompletion(StackFrame frame, string currentText) { var fileName = new ICSharpCode.Core.FileName(frame.NextStatement.Filename); var textLocation = new TextLocation(frame.NextStatement.StartLine, frame.NextStatement.StartColumn); var binding = DebuggerDotCompletion.PrepareDotCompletion(currentText, SD.ParserService.ResolveContext(fileName, textLocation)); if (binding == null) { return; } binding.HandleKeyPressed(console.TextEditor, '.'); }