-
-
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
Option for detecting f strings. #7265
Comments
Thanks for reporting. We'll take a look at this in a future release. |
@ccordoba12 Isn't adding new substantive enhancements now frozen after 3.3.0? Or has that changed? |
@dalthviz, please work on this one. |
I am using Spyder 5.2.1 and f-strings are still not highlighted in editor. For example code:
could look something like: Instead it's all green as mentioned in previous comments.
|
This functionality will come in Spyder 6 because it requires that we integrate with a new syntax highlighting library. |
Im on Spyder 6 and it looks like it still isnt working. Is this feature expected? |
Hi @Knarf224 this is indeed over the backlog/list of features to be implemented for Spyder 6. To be more specific, for the moment, the idea is to have this available for Spyder 6.2.0 (current latest release for Spyder 6 is 6.0.4). Also, although this prioritization can change in the future, if the issue is still open definetly is something we will try to check in a future release! |
Issue Report Checklist
Enhancement proposal
Hello,
It would be nice to have an option in Spyder which, when turned on, detect when '{' or '}' are written in string. It would then add a 'f' in front of the string in order to set up a formatted string.
Hope to see this feature in Spyder one day.
Thanks for your amazing work !
The text was updated successfully, but these errors were encountered: