DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
https://docs.basedpyright.com
Other
912 stars 17 forks source link

Semantic highlighting for Quarto .qmd file? #487

Open ntluong95 opened 1 month ago

ntluong95 commented 1 month ago

Currently, there is no support for .qmd file from Quarto extension in Vscode. Since this file is more and more popular, having support for it will benefit the Python community, as well as R community starting learn Python. For example, pandas and pd does not recognize as module in the attached image below:

image

DetachHead commented 1 month ago

related: #173

ntluong95 commented 1 month ago

How likely do you think this feature will be included @DetachHead

DetachHead commented 1 month ago

i'm not familiar with either quarto or jupyter so i can't make any promises but i'd probably prioritize jupyter support first since it's already supported in pylance and is currently the most upvoted issue on this project. i would however accept a PR if somebody else wanted to work on this.

my guess is that implementing jupyter support will make it easier to add support for quarto in the future though. my work so far on jupyter support is in #442 (barely anything atm), i just haven't had the time to work on it, and my lack of experience with this stuff doesn't help.

would be nice if someone else more experienced with notebooks/quarto could take over. so far i've just been prioritizing issues based on a balance between what i think i can reasonably accomplish, what users want, and what i personally want.

ntluong95 commented 1 month ago

I think both .ipynb and .qmd file are equally important. More and more people including me are using quarto to write python code. For your information, quarto is a special type of markdown file