jupyter / jupyter/notebook

Can't turn ON the auto-closing feature

Open
#4,586 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

My notebook sometimes cannot auto complete bracket and quotes (and what makes the situation more complicated, it sometimes works). I search this issue on google and found a method to turn OFF autoCloseBracket:
```
from notebook.services.config import ConfigManager
c = ConfigManager()
c.update('notebook', {"CodeCell": {"cm_config": {"autoCloseBrackets": False}}})
```
So, I changed the argument to "True", but still it does not work.

I also directly opened notebook.json, where I found the code below.
```
{
"CodeCell": {
"cm_config": {
"autoCloseBrackets": true
}
}
}
```
Although it seems that the auto-closing feature in my jupyter notebook is successfully turned on,
it still does not work in fact.

MacOS 10.14
jupyter notebook 4.4.0

I appreciate all your help, thank you.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the auto-closing behavior in Jupyter Notebook 4.4.0 on macOS, then inspect the ConfigManager settings for notebook.json and the CodeCell cm_config entry. Confirm whether setting autoCloseBrackets to true changes the editor behavior and document the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, macos
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.