DioxusLabs / DioxusLabs/dioxus
Incorrect syntax highlighting with expressions inside of formatted strings
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
Incorrect syntax highlighting when accessing `props` fields (see screenshot).
It works, but would be great if you can visually distinguish and see as the usual comment (see screenshot)
**Steps To Reproduce**
Steps to reproduce the behavior:
- define props
- try to access fields of those props in the string
**Expected behavior**
Correct syntax highlighted - string is like string, whatever is inside `{ }` highlighted differently
**Screenshots**

**Environment:**
- Dioxus version: 0.6.0
- Rust version: rustc 1.86.0 (05f9846f8 2025-03-31)
- OS info: Linux Mint 21.2 x86_64
- App platform: web
**Questionnaire**
I would've loved to fix it, but I am myself a newbie and wanted to learn Rust via Web because its the most comfortable thing for me.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.