codelite
codelite copied to clipboard
language server plugin different behavior on freebsd and linux
on current master ( 78443cfb10520adb7733411c2a6e64edcea654ec ) code completion does not work on freebsd with any language server. for ctagsd it just silently does not work at all. for ccls and clangd it can't find any include files.
it seems i just missed "generate compil_commands.json file" in code completion options, but on linux completion works even with it turned off.
also behavior on freebsd and linux are different, for example on freebsd i do not have tooltip on hover with type description and comments i use ccld, clangd and ctags on both systems
the tooltip is there, disabled by default.
settings-> code completion -> display type info tooltip
https://docs.codelite.org/plugins/lsp/#cmake-clangd-ctagsd
yes, it is turned on.
you will need to rebuild CodeLite.
The binary file codelite-ctags provided with CodeLite probably does not run on freebsd.
I have updated the source code to build it on *nix machines and we no longer provide it.
git clone https://github.com/eranif/codelite.git
cd codelite
git submodule update --init
mkdir build-release
cd build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j24 install
i think problem caused by something else, i do have universal-ctags installed on bsd, and looks like it executed (i see high cpu load from ctags during codelite workspace parsing). also, i think pulling dependencies with codelite is not very good idea, it's just making build process more complicated. for example it does not builds anymore on my exherbo based system.
i also can't build codelite on freebsd anymore via ports, freebsd does have strict security policies, and handling things like dynamic git submodules is a bit complicated.
on b22aa39d671df064e44b96976ea32b40f4353c7f tooltips still does not work on freebsd on mouse hover in editor (does not work at all), but tooltips are sown from codecompleteon menu properly
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (within 5 days). Thank you for your contributions.
still happening on latest master.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (within 5 days). Thank you for your contributions.