ipython / ipython/ipython

Inconsistent Syntax Highlighting in F-Strings

Ouverte
#10,567 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
16.8k
Forks
4.5k
Merge moyen
1 j 2 h
PR mergées (30 j)
6

Description

- 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](https://cloud.githubusercontent.com/assets/4192839/26152922/c261a55a-3b26-11e7-91cb-7e721e159df8.JPG)

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.