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

Add VS Code support to distinguish hash pipe comments from regular comments #409

Open juliasilge opened 2 months ago

juliasilge commented 2 months ago

In VS Code, the syntax highlighting of regular comments is the same as hash pipe comments:

comments

@mine-cetinkaya-rundel says this has been a problem for learners new to Quarto. Compare this to the treatment in RStudio;

comments-rstudio

It would be helpful if the information provided for syntax highlighting in VS Code allowed the frontend to distinguish between regular and special hash pipe comments.