Always redirect logs to lower pane if we are in auto-completion, this way, we won't lose the logs and they can be shown by setting j.tools.logger.debug to True (this will be helpful in case for example we cannot get any errors while trying to 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.
Resolves: #688.
Description
Always redirect logs to lower pane if we are in auto-completion, this way, we won't lose the logs and they can be shown by setting
j.tools.logger.debug
toTrue
(this will be helpful in case for example we cannot get any errors while trying to get auto-completions).Checklists
Before asking for approval