cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Support qmd files

Open zareami10 opened this issue 3 years ago • 2 comments

Currently commands don't work in .qmd files (see https://quarto.org/), but since it's more or less markdown it would be nice if we could have basic supports for it (e.g. without the additional features/syntax).

zareami10 avatar Jul 18 '22 17:07 zareami10

Yeah shouldn't be too hard. Can basically just see how we handle eg jsonc today: we just reuse the json parser, and it mostly just works. Can just grep in https://github.com/cursorless-dev/vscode-parse-tree and https://github.com/cursorless-dev/cursorless for jsonc to see how it works; should be easy fix

pokey avatar Aug 03 '22 12:08 pokey

Yeah shouldn't be too hard. Can basically just see how we handle eg jsonc today: we just reuse the json parser, and it mostly just works. Can just grep in https://github.com/cursorless-dev/vscode-parse-tree and https://github.com/cursorless-dev/cursorless for jsonc to see how it works; should be easy fix

One thing I have noticed is that no Cursorless commands work when Quarto's extension is active. Not really sure who's the culprit and/or how to go about debugging that.

zareami10 avatar Aug 05 '22 14:08 zareami10