示例#1
0
        void ShowDotCompletion(StackFrame frame, string currentText)
        {
            var binding = DebuggerDotCompletion.PrepareDotCompletion(currentText, new DebuggerCompletionContext(frame));

            if (binding == null)
            {
                return;
            }
            binding.HandleKeyPressed(console.TextEditor, '.');
        }
示例#2
0
        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();
        }
示例#3
0
        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, '.');
        }