Closed pierrebrd closed 2 days ago
Done. You can test starting from the next nightly release. The command is called LTeX: Close LTeX+
Thank you, I tested it and it works great !
The only weird thing is that after closing LTeX, I still see the "LTeX ready" in the status bar (I have the setting ltex.statusBarItem set to true), and when I start LTeX again using the "Check Current Document" command, it doesn't show "starting ltex", i only see "LTeX Ready" while java is starting and then "LTeX is checking " when java is ready and it starts checking the document. It is a really minor bug since it doesn't affect the behaviour of LTeX, so I don't think it really needs a fix.
I have no clue how to fix the status bar. As you said, it's not real issue.
This issue is now fixed on develop
. The fix will be included in the next release of LTEX.
If you don't want to wait, you can try out the nightly pre-release tomorrow. Nightly pre-releases are published every morning at around 4am UTC.
LTeX is automatically activated when editing a file that triggers it, and the list of files triggering it can't be edited (ltex.enabled allows us to edit the code languages that enable LTeX checking, but even when removing a code language, LTeX will still start)
An interesting feature would be a command to deactivate LTeX when it is not needed, in order to free some RAM (1GB is not insignificant!). Currently, the "LTeX Reset and Restart" command allows us to close LTeX, but it will automatically be started again.