New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add automatic Closebrackets function to Codemirror. #4985
Conversation
I think a couple of us should play with this to see what we think. |
I don't think it should be default. Julia have asymetrical bracket for semi-open interval IIRC. like |
I don't know too much about Julia, so this asymmetrical brackets are used very frequently? |
Shouldn't codemirror defaults be tied to the language? Already, you should have different syntax highlighting for julia vs. python. It seems like in the same manner, you should also be able to have different plugins loaded. |
Julia doesn't have asymmetrical brackets. (There was some discussion of this notation, but it was ultimately rejected: JuliaLang/julia#2040) |
Ok, then +1 for me. |
Comments? How do you feel it? Thanks. |
I just pulled this branch and I really like it, great idea to enable this @damianavila - 馃憤 from me too. Will let someone else merge it though. |
Please merge ! I just can't live without this feature now :-) |
Enable autoCloseBrackets in CodeMirror by default.
Thanks! |
Enable autoCloseBrackets in CodeMirror by default.
This is a trivial change to add automatic close of brackets
{
,[
and(
to code cells...This behaviour is extensively spread across multiple IDE and code editors, and I think it worth to make it a default option.
I tested in live and I really like the millisecond I do not spent looking for the closing bracket 馃槈
Thoughts?