Can't turn ON the auto-closing feature
- 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
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