Jump to content
Sign in to follow this  
badosu

Making LSP work with 0ad Codebase

Recommended Posts

Anybody got a language server working on 0ad?

I generated a `compile_commands.json` with `bear make` but `cquery` is not working with it.

Share this post


Link to post
Share on other sites

LSP are programs that perform static analysis of the codebase to extract the AST and provide facilities for development (autocomplete, function signatures, refactoring utilities, go-to definition and so on).

Most of the ones available for C++ use clang though it seems it may be possible to use with gcc. I was wondering if someone had been able to setup that already.

This is the LSP I was trying to setup specifically: https://github.com/cquery-project/cquery

Share this post


Link to post
Share on other sites

Well I use visual studio and it does that for me. On linux I guess you can use eclipse or something :)

There is cppcheck that would do lint if they merged the coala bear update.

we also use eslint.

i made a patch for a clang format bear.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...