docs/tools.md
This readme contains some hints on how to set up some optional development tools.
ccls is a c/c++ language server. It requires some setup to work well. There are different ways to do it but here's what works for me:
~/src/neondatabase/)vendor/postgres-v15make clean && ./configurebear -- make -j4compile_commands.json to ~/src/neondatabase (or equivalent)touch ~/src/neondatabase/.ccls-root this will make the compile_commands.json file discoverable in all subdirectoriesWith this setup you will get decent lsp mileage inside the postgres repo, and also any postgres extensions that you put in ~/src/neondatabase/, like pg_embedding, or inside ~/src/neondatabase/neon/pgxn as well.
Some additional tips for various IDEs:
To improve performance: (setq lsp-lens-enable nil)