Description
Hi all, moving this discussion here as suggested. Quoting from there:
It is easy to insert citations from Zotero to the current Quarto document & the associated .bib file in visual editing mode (Positron / VS Code).
What are the current best practices for inserting citations to both the Quarto file and the associated .bib file in source mode? I don't think there is a way to do this currently, but it would be a fantastic addition.
My understanding is that this might require a VS Code extension. When I search for extensions in Positron, the only result is https://github.com/mblode/vscode-zotero. However that only inserts the citation into the Quarto file.
I had a quick look at results in VS Code (there are more) but they also seem to only write the citation into the Quarto file, and thus require manually dealing with the .bib file.
I forked the "VS Code Citation Picker for Zotero" extension to add this functionality (and use VS Code native picker UI, which is faster) here: https://github.com/mvuorre/vscode-zotero/releases/tag/v0.2.0. (Here is a short blog post explaining it. It seems the original repo is not maintained so updates unlikely there.) But I'd hate to be reinventing the wheel.
Is anyone aware of (better) alternatives? If not I might go through the hassle of figuring out how to make this available in the Positron extension search dialog (any tips on how to do that?), since it currently requires manually installing the .vsix file. Perhaps something like this could be baked into the VS Code extension or Positron itself?