Skip to content

"Auto Close Brackets" not closing brackets in OSX and iOS. #6384

@holzschu

Description

@holzschu

Description

In my tests, if I enable the "Auto Close Brackets" setting in retrolab, it does not automatically close brackets, whereas if I enable it in jupyterlab, it does automatically close brackets.

I could only run tests on OSX (11.6) and iOS (15.3), but I had the same behaviour on both. It applies both for notebooks started using Binder and notebooks started from the command line.

I also noticed that window.jupyterapp.commands.execute('notebook:toggle-autoclosing-brackets'); returns Unhandled Promise Rejection: Error: Command 'notebook:toggle-autoclosing-brackets' not registered.

Reproduce

  1. start retrolab
  2. activate "Auto Close Brackets" in setting
  3. type "print("
  4. notice the closing bracket did not appear.

Expected behavior

I expected the closing bracket ")" to appear. With jupyterlab, it does appear.

Context

  • Operating System and version: iOS 15.3 (using Binder and Carnets), OSX 11.6.2 (using Binder and command line)
  • Browser and version: Safari 15.2
  • JupyterLab version: 3.3.1 and 3.2.9
  • Retrolab version: 0.3.19 and 0.3.20
Troubleshoot Output

Command Line Output
No error or warning related to brackets in the command line output.
Browser Output
No significant output on the Javascript console.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions