Open halidaee opened 2 years ago
We are definitely hoping to make this functionality available outside of RStudio! It's all written in C++ and is tied to the visual editor so not super-easy to transplant. We'll figure out an approach though.
Would this be a fair alternative?: Citation Picker for Zotero
I do currently use that now for one project. However, an issue with that extension is that it isn’t interoperable with how RStudio links to Zotero. RStudio will add citations with a simpler key to a separate .bib file. Citation Picker will just drop in the citation key from the Zotero .bib library.
This means that if I start a .qmd in RStudio and later switch to VSCode (which I’m prone to do once I leave the `exploration’ stage), I currently need to first (i) change the reference file in my YAML to the original Zotero .bib and (ii) update all the citations in my document to the original Zotero key.
Switching from VSCode to RStudio requires not only switching keys in the opposite direction through its citation manager but also adding them to RStudio’s own citation file.
I hope that clarifies!
Aw, it makes sense. Thanks for the explanation, @halidaee.
When implementing this, it would be even nicer if the following could be also considered:
Ability to connect to Zotero libraries using Zotero web API just like RStudio IDE.
An option to use VSCode's native picker widget (because this is accessible) instead of Zotero's citation picker UI as I described in mblode/vscode-zotero#31.
This seems done. (I'd like to be able to insert citations from the Code Editor mode, but that seems like a separate feature request.)
It would be nice to build in Zotero with Better Bibtex support into the Quarto plugin. This would help better match RStudio functionality.