LaTeXTools icon indicating copy to clipboard operation
LaTeXTools copied to clipboard

\ref autocompletion for multiple files

Open gawells opened this issue 4 years ago • 2 comments

As far as I can see \ref will only list labels from the open file for autocompletion. Is it possible to list from all .tex files in the current directory (or project), similar to overleaf?

gawells avatar Aug 08 '20 17:08 gawells

The \ref completion should work correctly if you have configured your tex files as a multi file document https://latextools.readthedocs.io/en/latest/features/#multi-file-documents

The underlying analysis automatically follows \include and \input

r-stein avatar Aug 08 '20 19:08 r-stein

Hi thanks, I should've elaborated more. In this case I'm using the xr package for a main text and supplementary info file to refer to each other. But the two are meant to be separate documents.

gawells avatar Aug 09 '20 16:08 gawells