Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get \cite{} and \ref{} completions from open buffers #1070

Open
Aligorith opened this issue Apr 4, 2017 · 1 comment
Open

Get \cite{} and \ref{} completions from open buffers #1070

Aligorith opened this issue Apr 4, 2017 · 1 comment

Comments

@Aligorith
Copy link

When there is no texroot stuff defined, it would be good if the \cite{} and \ref{} commands would just look for the relevant labels in the open buffers (i.e. any .bib files open in the current window/session for \cite{], and any .tex files for \ref{}), instead of just popping up the annoying "No bib files found" error or not allowing any completions at all.

I'm currently working my thesis and have a complicated multi-folder setup that I'm compiling out of Sublime via a batch script.

Aligorith added a commit to Aligorith/LaTeXTools that referenced this issue Apr 4, 2017
…buffers for .bib files before giving up when it can't find any linked .bib files
Aligorith added a commit to Aligorith/LaTeXTools that referenced this issue Apr 4, 2017
@Aligorith
Copy link
Author

I originally opened this as a feature request, but quickly found that it was much easier than I expected to be able to quickly patch this. Now happily using this fix locally :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant