automatically remove garbage files
I really love this Plugin, it's better than LatexTools and Latexing, they can not build from \input files, you have to switch to the main file. it's really sucks. I just have two little requests:
- can we let it automatically remove garbage files every time after build?
- can we let it automatically hide build results panel? I mean, after build, I want to know the results, but when I start typing, I wish the build results panel can hide automatically.
Thanks a lot...
I believe that both LatexTools and Latexing support the TeXwork magic comments. At least, for tex root:
%!TEX root = main.tex
For you requests,
-
It is possible while it is not efficient. Cleaning the auxiliary files every time automatically will slow down next compilation time and I don't think it is the way to go. LaTeXing creates an output folder to store all the aux files. However, for some latex packages, they don't support it. So I would rather don't support it. To clean the aux files, you can always run the command "LaTeX-Plus: Clean Aux Files". You could also attach a keybind to it. For example
{ "keys": ["ctrl+shift+c"],"command": "latex_plus_clean", "context": [ { "key": "selector", "operator": "equal", "operand": "text.tex.latex" } ] } -
It is possible. And in fact, I was considering it.