Skip to content

How to view xapi source codes in vscode with ocaml-lsp-server #4814

Answered by psafont
DyingOwl asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

  1. I don't think that the ocaml packages in 8.2 include the ocaml-lsp-server, so it's probably difficult to get it working in that container
  2. The way to install it is using opam install ocaml-lsp-server, or if you don't want opam to decide opam install ocaml-lsp-server.1.2.0
  3. When following the instructions in the readme, after doing step 5 you can install ocaml-lsp-server using opam install ocaml-lsp-server. I'm not sure why it would fail on cmdliner not being found if the instructions were followed correctly, cmdliner is a dependency. Try running opam install xs-toolstack -y to compile the whole toolstack, this will make all the code in xen-api can be compiled.

If you find errors, plea…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DyingOwl
Comment options

@psafont
Comment options

@DyingOwl
Comment options

Answer selected by DyingOwl
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