Change color of f-strings variables

Answered

Hi,

I would like to know how to change the yellowish highlight of the variables inside the curly braces of f-strings.

I've looked in File / Settings / Editor / Colors & Fonts / Python, but I can't find anything about this.

Example: 

 


Thanks

 

1
3 comments

You could change this color in Settings | Editor | Colors & Fonts | General | Injected language fragment.

2

Thanks a lot Anna!

0
Avatar
Permanently deleted user

Thanks for that, Noxxys and Anna!  This was bugging me too.

Just a note, that this option seems to have moved (I'm using version 2018.2.4).

It can be found in Settings | Editor | Color Scheme | General | Code | Injected language fragment.

0

Please sign in to leave a comment.