Compile LaTeX on file save #5002
-
I'm sorry if this is a duplicate, but I wasn't able to quickly find a way to compile compile a .tex file to .pdf automatically when saving. More generally I would like to tell Helix to execute a specific command on file save, based on the file language. Is it already possible? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
This is not currently possible. From what I understand, the latex language server TexLab can compile and generate PDFs on save though. The documentation link here looks broken at the moment but it should be possible for the language server to do this as long as you have a TeX distribution installed |
Beta Was this translation helpful? Give feedback.
-
Thanks! I realized that I had this already configured and somehow I had forgotten about it, sorry to have bothered you!
|
Beta Was this translation helpful? Give feedback.
-
There are outside tools to use for this type of task as well if you prefer, for instance watchexec. |
Beta Was this translation helpful? Give feedback.
-
Is this something that will be implemented in helix? Is there any plan for it? |
Beta Was this translation helpful? Give feedback.
This is not currently possible.
From what I understand, the latex language server TexLab can compile and generate PDFs on save though. The documentation link here looks broken at the moment but it should be possible for the language server to do this as long as you have a TeX distribution installed