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

Jedi f-string completions #930

Closed
gopar opened this issue Jun 12, 2017 · 6 comments
Closed

Jedi f-string completions #930

gopar opened this issue Jun 12, 2017 · 6 comments
Labels

Comments

@gopar
Copy link

gopar commented Jun 12, 2017

Will jedi support f-strings?
Pretty much code completion within strings?

Thanks, awesome package :)

@davidhalter
Copy link
Owner

Good idea! :)

@gopar
Copy link
Author

gopar commented Jun 27, 2017

Out of curiosity, how hard would this be to implement? Might try to make it work it the entry level is not that high. No promises though :P

@davidhalter
Copy link
Owner

I think it's actually really easy. The only hard part is splitting up the string. You have to parse the string. Once you have done that it's probably very easy (something like a five liner). I could help you with the second part.

@BlacKCaT27
Copy link

Curious what the status is here. Turns out this could be related to a downstream issue I've opened for VS Code here. You can use my example there as a test for your update :)

@z3dm4n
Copy link

z3dm4n commented Mar 5, 2018

As of today, it seems there is no final solution regarding f-strings here. Correct me, if I'm wrong. f-strings are great performance-wise. Any fix would be highly appreciated. Thanks and keep up the great work.

@davidhalter
Copy link
Owner

f-string support should be done now. Please test. You have to use both latest jedi and parso master branch to use it until the 0.12.0 release which is going to happen very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants