mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
Merge pull request #5372 from minrk/no-close-strings
Don't autoclose strings, because CodeMirror's behavior makes it confusing and awkward to type triple-quoted strings (and these are very common in Python). An issue about this was filed in CodeMirror itself: https://github.com/marijnh/CodeMirror/issues/2385
This commit is contained in:
commit
5f086fded2
@ -102,7 +102,8 @@ var IPython = (function (IPython) {
|
||||
mode: 'ipython',
|
||||
theme: 'ipython',
|
||||
matchBrackets: true,
|
||||
autoCloseBrackets: true
|
||||
// don't auto-close strings because of CodeMirror #2385
|
||||
autoCloseBrackets: "()[]{}"
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user