-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Comment Indentation #3765
Comments
If you use the sublime keymap, this is default behavior. I made this change a while ago and it's pretty easy to port into your application as well: https://github.com/codemirror/CodeMirror/blob/master/keymap/sublime.js#L246 It's simply a matter of calling toggleComment with |
Indeed, the feature exists, you just need to bind it differently. |
and how exactly would this work? |
How can you change the default keymap? |
Hi,
I opened this issue on jupyter notebook and wanted to follow up upstream here.
jupyter/notebook#954
Is there anyway to replicate the default comment indentation behavior from Sublime Text?
Essentially, if within a block, it indents the comment symbol. If containing the the start, end, or both of the block, it does not indent the comment symbol.
The text was updated successfully, but these errors were encountered: