Add option to include filename in status bar #3966
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds an option to include the name of the root file in the status bar while compiling/building.
I find this very useful when working in directories with multiple latex files that take a long time to compile. Scenarios are e.g.:
fileA.tex
is being built/just got done being built, and I savefileB.tex
. Now I can see whetherfileA.tex
is still being built orfileB.tex
is already being built.fileA.tex
is included by two root files, e.g.examQuestions.tex
andexamSolutions.tex
, and I save it. Now I can see which of the two root files was chosen to be built by the root-finding mechanism.This does not solve the issues raised e.g. in #3614 and #3172, but helps coping with the "blackbox" root-finding mechanism.
I set the option default to
false
to not add noise to the status bar for users who are not interested in this info, but that can of course be changed.I am already using this modification on my personal fork, so I directly opened a PR. If you prefer, I can also close this PR and open a discussion topic first.