badosu Posted April 30, 2020 Report Share Posted April 30, 2020 Anybody got a language server working on 0ad? I generated a `compile_commands.json` with `bear make` but `cquery` is not working with it. Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 1, 2020 Report Share Posted May 1, 2020 What do you want to achieve exactly? Quote Link to comment Share on other sites More sharing options...
badosu Posted May 3, 2020 Author Report Share Posted May 3, 2020 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 Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 3, 2020 Report Share Posted May 3, 2020 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. Quote Link to comment Share on other sites More sharing options...
badosu Posted May 3, 2020 Author Report Share Posted May 3, 2020 > i made a patch for a clang format bear. Where can I check that? Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 3, 2020 Report Share Posted May 3, 2020 https://code.wildfiregames.com/D2490 1 Quote Link to comment Share on other sites More sharing options...
asterix Posted May 3, 2020 Report Share Posted May 3, 2020 31 minutes ago, badosu said: > i made a patch for a clang format bear. Where can I check that? https://code.wildfiregames.com/D2490 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.