Note: I'm using org-cite, not org-ref.
As I'm writing, I sometimes add a new citation to my references.bib file. But org-mode can't always find it. Instead, org highlights the new citation as an error, and if I click on it says "Cannot find citation key".
However if I restart Emacs, it can find it.
Is there a function I can call to rebuild or refresh org-mode's understanding of the .bib file without having to restart Emacs?
M-: (org-cite-basic--all-keys)
, There may be other, better supported ways, but this should parse the bibliography file again and remake the hash table. No guarantees though: my understanding of how citation works in Org mode is extremely rudimentary.oc-basic
is not loaded?