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

automatically remove garbage files #37

Open
iwuwu opened this issue Nov 22, 2015 · 1 comment
Open

automatically remove garbage files #37

iwuwu opened this issue Nov 22, 2015 · 1 comment

Comments

@iwuwu
Copy link

iwuwu commented Nov 22, 2015

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...

@randy3k
Copy link
Owner

randy3k commented Nov 23, 2015

I believe that both LatexTools and Latexing support the TeXwork magic comments. At least, for tex root:

%!TEX root = main.tex

For you requests,

  1. 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" }
        ]
    }
    
  2. It is possible. And in fact, I was considering it.

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

2 participants