6

Using \usepackage[backend=biber]{biblatex}, I can reference an external .bib file using \addbibresource{foo.bib}.

In TeXStudio 2.9.4, autocomplete will provide me with a list of citation keys when I press Ctrl+Space following \textcite{. This is an incredibly useful piece of functionality.

But it clearly caches the autocomplete result somewhere because when I add a new reference to my .bib file, the autocomplete list does not include it (although all the older references are listed.)

To "force" the reference to appear in the autocomplete list I can manually type the new citation key and compile. But where does TeXStudio get its autocomplete list from, and why doesn't it expand to include the new reference(s) I've added to the .bib file?

LondonRob
  • 4,422

1 Answers1

3

As per @TimHoffman's comment, TeXStudio caches the contents of .bib files such that updates to the .bib might not be reflected in the autocomplete pop-up.

As he also states, doing:

Idefix -> Refresh Structure

does indeed sort the problem out and new bibliography entries will appear in the autocomplete.

LondonRob
  • 4,422