Evaluate the code with globals and locals of ptpython repl, and also show any errors if we cannot get completions because when we fail to evaluate the code to get an object we cannot list its members (no need to walk-back the stack).
Description
Fix showing the logging pane.
Change the way we evaluate the line in kosmos shell to get completions and doc strings, by ignoring syntax errors for in-complete statements and also log the error to logging pane when we cannot get auto-completions
Checklists
Before asking for approval
[ ] Make sure the changes are covered by tests.
[ ] All the CI tasks are green.
[ ] Ensure the branch is up to date with its base branch.
[ ] Corresponding changes to the documentation were made.
Evaluate the code with globals and locals of ptpython repl, and also show any errors if we cannot get completions because when we fail to evaluate the code to get an object we cannot list its members (no need to walk-back the stack).
Description
Checklists
Before asking for approval