Skip to content

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

@ntluong95

Description

@ntluong95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions