My daily workflow involves opening a number of diverse projects and navigating through them using Emacs. For some projects, xref-find-references
requires me to select a project (with a "Select project:") prompt - as if it is unable to deduce the project root itself.
What is the reason for this seemingly random xref-find-references
behavior and how can I fix it?