MagicStack / MagicStack/MagicPython
Incorrect syntax coloring for formatted-raw string literals (example: fr"{some_path_here}\some_file_here.txt")
- Langage dominant
- JavaScript
- Étoiles
- 1.4k
- Forks
- 98
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi,
I wanted to draw attention to the fact that formatted-raw string literals are syntax highlighted by MagicPython as if they were ordinary raw string literals, without any special syntax highlighting given to the contents of the curly braces. See examples below:

Is there any chance this could fixed/enhanced?
Cheers!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par localiser les règles de coloration syntaxique pour les littéraux de chaînes raw formatées et comparez leur traitement à celui des chaînes raw ordinaires. Utilisez l’exemple signalé `fr"{some_path_here}\\some_file_here.txt"` pour vérifier que le contenu à l’intérieur des accolades reçoit une coloration distincte.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, python
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100