Lsp-mode when I can't generate compile_commands.json

This page summarizes the projects mentioned and recommended in the original post on /r/emacs

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Bear

    Bear is a tool that generates a compilation database for clang tooling.

  • clangd does not just index projects, it builds a code model. The way C/C++ projects are structured an IDE can not really understand the code without some meta information that is usually supplied by the buildsystem files or other metadata. What buildsystem does your project use? Maybe there is some way to extract a compile_commands.json file from it. You can look at bear for an alternative to generate the file.

  • compiledb

    Tool for generating Clang's JSON Compilation Database files for make-based build systems.

  • There is also this tool which claims to support Windows. However:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts