-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Autoparens appear when autocompleting in the import section #2581
Comments
Hmm, that's a tricky one. What if we only apply it if there is an |
I would rather make some helper function in the order of...
So you would know you are inside an import statement..? |
This would be very useful for other cases, like auto formatting import statements |
I'm not sure how to do that for import continuation lines like: from IPython import (
blah, blah2, blah3 |
can we do a lookup of the |
Oh, duh, we're already checking for imports, this is actually simple then. — On Sun, Aug 2, 2015 at 6:37 PM, Gonzalo Peña-Castellanos
|
👍 |
Autoparens is a great addition, but it should not be applied everywhere, such as whem importing something....
For example if I have this and then press
Tab
in this case (* denotes cursor location)We get
Which is not very helpful....
Any thoughts @blink1073?
The text was updated successfully, but these errors were encountered: