Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support qmd files #880

Open
zareami10 opened this issue Jul 18, 2022 · 3 comments
Open

Support qmd files #880

zareami10 opened this issue Jul 18, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers lang-markdown Support for the Markdown family of markup languages

Comments

@zareami10
Copy link

zareami10 commented Jul 18, 2022

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).

@pokey
Copy link
Member

pokey commented Aug 3, 2022

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 pokey added the enhancement New feature or request label Aug 3, 2022
@pokey pokey added the good first issue Good for newcomers label Aug 3, 2022
@zareami10
Copy link
Author

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.

@auscompgeek auscompgeek added the lang-markdown Support for the Markdown family of markup languages label Nov 3, 2023
@BlueDrink9
Copy link

BlueDrink9 commented Jan 22, 2025

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.

I was experiencing the issue that any cursorless (or indeed, vscode-talon) spoken command would run a bunch of notebook r code instead of the command. It turns out this is because of a keybinding clash between quarto and the command server. Remap the quarto command, or implement my PRs cursorless-dev/command-server#41 and talonhub/community#1697

BlueDrink9 added a commit to BlueDrink9/command-server that referenced this issue Jan 22, 2025
The current shortcut [clashes with some extensions](cursorless-dev/cursorless#880 (comment))

This seems to work on my linux configuration with codium, whereas the f17 mapping didn't
BlueDrink9 added a commit to BlueDrink9/talon-community that referenced this issue Jan 22, 2025
The current shortcut [clashes with some extensions](cursorless-dev/cursorless#880 (comment))

This seems to work on my linux configuration with codium, whereas the f17 mapping didn't
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers lang-markdown Support for the Markdown family of markup languages
Projects
None yet
Development

No branches or pull requests

4 participants