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

CMake Server Mode support #337

Closed
MathiasMagnus opened this issue Dec 5, 2017 · 1 comment
Closed

CMake Server Mode support #337

MathiasMagnus opened this issue Dec 5, 2017 · 1 comment
Labels
enhancement Issue suggests an enhancement feature request Feature request

Comments

@MathiasMagnus
Copy link

Description

Because the task execution engine built into VS Code lacks in many regards, it would be nice if a ubiquitous build system (generator) would be supported. I would argue, that CMake is perhaps the best choice. I do teach junior physicist (who have to deal with quite a lot of LaTeX in their professional life) how to automate building a library, an exe consuming it, invoking the exe for a data file, plotting the data using GnuPlot and compiling a LaTeX document using the plot in an end-to-end manner with proper dependencies being tracked by the generated build system (Ninja per say).

It would be nice if following in the footsteps of cpptools, LaTeX-workshop picked up prime-time CMake support. CMake Tools is a nice extension that should provide the hooks through its API to detect custom_command invocations relevant to LaTeX-Workshop. The feature driving IDE hooks into CMake is CMake Server Mode, a long-running (build server-like) mode of CMake that constantly monitors the scripts of CMake used to generate the build system files, as well as presenting a JSON API for the resulting CMake Configuration. Every IDE extension can query this JSON for the parts relevant to them to trigger language service features, GUI hooks, SyncTex and what not.

Currently, even though I get my resulting PDF, I cannot open it, because the extension is not aware of it/was not created by it. The authors of UseLATEX and CMake Tools are both very eager to help on their part (vector-of-bool can be unresponsive at times) and I'm sure ends can be made to meet.

This enhancement is orthogonal/supplementary to the awesome in-flight proposal of using the built-in LaTeX compilation. UseLATEX can easily be configured to use any LaTeX compiler.

@James-Yu James-Yu added the enhancement Issue suggests an enhancement label Dec 7, 2017
@jlelong jlelong added the feature request Feature request label Nov 21, 2018
@jlelong jlelong changed the title Feature request: CMake Server Mode support CMake Server Mode support Feb 28, 2019
@tamuratak
Copy link
Contributor

Feel free to reopen if any progress.

Repository owner locked as off-topic and limited conversation to collaborators May 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Issue suggests an enhancement feature request Feature request
Projects
None yet
Development

No branches or pull requests

4 participants