Skip to content
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

Support multiline edit #2527

Closed
guillaume-chevalier opened this issue May 28, 2017 · 7 comments
Closed

Support multiline edit #2527

guillaume-chevalier opened this issue May 28, 2017 · 7 comments

Comments

@guillaume-chevalier
Copy link

I would love the support of multiline edit in the web notebook cells, like what can be done in Atom, Sublime, and many other IDEs.

@Carreau
Copy link
Member

Carreau commented May 28, 2017

Would you mind describing in better detail or show an example ? Because I'm unsure about what "Multiline Edit" means.

multiline

@guillaume-chevalier
Copy link
Author

What's done in your image is exactly what I need. I searched for keyboard shortcuts and I also tried to use a nbextention, but all of that didn't work.

How did you do that?

@Carreau
Copy link
Member

Carreau commented May 29, 2017

on Mac Cmd+Click on various location, not sure on windows/linux.
When you use sublime there is a shortcut (Cmd-D I think) that select next identical token.
But all these shortcuts are Codemirror shortcuts duplicating all the documentation of codemirror would be a lost battle so if you want to know more you'll have to see there.

I believe alt-click-drag should allow selection of rectangular block for edition.

Closing, feel free to keep commenting.

@Carreau Carreau closed this as completed May 29, 2017
@guillaume-chevalier
Copy link
Author

Thanks a lot. I discovered that I had a chrome binding with a plugin for CTRL+CLICK overriding it and that was a part of the problem.

@yacineMTB
Copy link

Wait, so how do we get this binded to a keyboard shorcut? I don't use a mouse

@mitchellzhen
Copy link

Wait, so how do we get this binded to a keyboard shorcut? I don't use a mouse

Ctrl + Alt + Click

@ddivittorio
Copy link

on Mac Cmd+Click on various location, not sure on windows/linux.
When you use sublime there is a shortcut (Cmd-D I think) that select next identical token.
But all these shortcuts are Codemirror shortcuts duplicating all the documentation of codemirror would be a lost battle so if you want to know more you'll have to see there.

I believe alt-click-drag should allow selection of rectangular block for edition.

Closing, feel free to keep commenting.

To do on Windows: Alt + Click

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants