Skip to content

Inconsistent Syntax Highlighting in F-Strings #10567

@navneethc

Description

@navneethc
  • Python 3.6.1
  • IPython 6.0.0
  • Anaconda: 4.3.1 64-bit
  • OS: Windows 7 64-bit

When typing out f-strings, the python expressions including the { } are not differentiated clearly from the string (colour-wise) if the expression is something other than just the variable name. For example, x + 10, as opposed to just x, is in the same colour as the rest of the string.

ipython

Please let me know if you require any other information regarding my environment or other cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions