Skip to content

Fix check for being inside string for jedi completions#11035

Merged
takluyver merged 1 commit intoipython:masterfrom
takluyver:i11032
Mar 29, 2018
Merged

Fix check for being inside string for jedi completions#11035
takluyver merged 1 commit intoipython:masterfrom
takluyver:i11032

Conversation

@takluyver
Copy link
Member

Completing something like a = "/home/<tab> gives a token "/home" starting with a space, which wasn't being caught.

Closes gh-11032

@Carreau do you think you'll have time soon to get back to working on the jedi integration? I like the idea, but it seems to be making the user experience worse and the code feels hackish (we're using a private method to access Jedi's parse tree to decide when to ignore its suggestions entirely). If we can't commit to making it work well, I think we should drop it and go back to relying on the battle-tested IPython completion machinery.

@takluyver takluyver added this to the 6.3 milestone Mar 7, 2018
@takluyver
Copy link
Member Author

Ping @Carreau - do you want to look at this before I merge it?

@takluyver takluyver merged commit f26efbe into ipython:master Mar 29, 2018
@takluyver takluyver deleted the i11032 branch March 29, 2018 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant