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

Add option to include filename in status bar #3966

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

ManuelHentschel
Copy link
Contributor

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 save fileB.tex. Now I can see whether fileA.tex is still being built or fileB.tex is already being built.
  • fileA.tex is included by two root files, e.g. examQuestions.tex and examSolutions.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.

@James-Yu
Copy link
Owner

Thanks for the PR. I do have an internal plan to overhaul the status bar display to include more status updates. This PR may fit into that. I'll leave this PR open, and come back when the plan is finished.

@ManuelHentschel
Copy link
Contributor Author

Any update on this? If the status bar overhaul is taking longer, could it be considered to merge this PR in the meanwhile?

@James-Yu James-Yu merged commit dac0ee5 into James-Yu:master Oct 16, 2023
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants