quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
280 stars 19 forks source link

Quarto extension in VSCode should better support Python syntax highlighting #420

Open ntluong95 opened 2 months ago

ntluong95 commented 2 months ago

Currently, the code syntax highlighting for Python is very poor. Consider these example below to see the different

In quarto image

In Python source code image

so at least module name like pandas, pd, numpy, np or function argument should be highlighted. It seems no scope has been capture for these keywords. image

Is there away that I can custom define the language myself in your quarto.tmLanguage file?

### Tasks