Skip to content

How to generate API docs and use LSP? #717

Answered by udoprog
VorpalBlade asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

So the way you use the tooling is to construct a modular commandline where you install your custom modules.

That gives you 1, once you have the modular comamndline, generating documentation will include your custom modules. It also gives you 2, you can run the language server by using your modular commandline entry cargo run -p my-commandline-crate -- languageserver. The blog post covers how you can configure this in an editor. I think 3 follows naturally from this. The tooling available is the vscode extension and the commandline which you can configure.

Hope this helps!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@VorpalBlade
Comment options

Answer selected by VorpalBlade
Comment options

You must be logged in to vote
1 reply
@VorpalBlade
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants