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

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