SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2k stars 364 forks source link

\ref autocompletion for multiple files #1487

Open gawells opened 4 years ago

gawells commented 4 years ago

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?

r-stein commented 4 years ago

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

gawells commented 4 years ago

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.