-
Notifications
You must be signed in to change notification settings - Fork 346
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
Find Usages+Replace all changes hidden files which will not be saved #3865
Comments
What do you meant "hidden files", |
@octaeder BTW, when you want to provide an example of a main file and one or several subfiles, you can do that as a self content file thanks to the \begin{filecontents}[overwrite]{a1.tex}
\section{root inline}\label{sec:root-inline}
$\sqrt{2}$
\end{filecontents}
\documentclass{article}
\begin{document}
\input{a1}
$\sqrt{2}$\ref{sec:root-inline}
\end{document} |
@dbitouze Nice feature, but obviously this is one file for txs and hence there is no hidden file. |
I think this is fixed with yesterdays commits |
Environment
Expected behavior
After replacing labels in hidden files these files should be saved when compiling or using
save all
Actual behavior
When I open a root document with a label and use
Find Usages
(context menu) the search results can be changed by using Replace all. This can affect hidden files. In this case the changed label there will not take effect because compiling will not save the hidden file. Also usingSave All
will not save it. Thus latex will throw missing label messages.How to reproduce
root:
a1.tex:
The text was updated successfully, but these errors were encountered: