I've somehow turned off the feature in JupyterLab where when I highlight something say
1,2
And press the bracket (, {, [ it would automatically add the second bracket at the other end.
I don't know what this feature is called, but it's so helpful and I'm crazy annoyed it stopped working.
Restarted already, it still persists. Can someone help me turn it back on?
The changelog of JupyterLab for 3.1 version, specifically the user-facing changes section, describes that:
The closing bracket is no longer automatically added by default; the old behaviour can be re-enabled from the menu bar (
Settings->Auto Close Brackets) or from theAdvanced Settings Editor.

This is the seventh option in default JupyterLab 3.1 installations, and second from the bottom on the picture above. For more discussion and to provide constructive feedback please go to jupyterlab issue #5741.
For JupyterLab 3.1 onwards, the auto close brackets feature is not the default anymore.
Fortunately this could be easily toggled from the UI, see picture below:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With