Eglot + clangd not working for NetHack code base

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. NetHack

    Official NetHack Git Repository

    My configuration of Eglot is simple: (use-package eglot :hook (c-mode . eglot-ensure)). And it works for a single c file. But when I use this setup to read the code of NetHack, it doesn't work for linting and definition finding (M-.), even though eglot connection has no problem. I observed the same problems when reading the code of SQLite. Some specific problems I observed:

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. compiledb

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

    An update: I am now able to make everything work by generating `compile_commands.json` using compiledb. I'm aware that there is another tool Bear but for some reason it generates an empty `compile_commands.json` file for me.

  4. Bear

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

    An update: I am now able to make everything work by generating `compile_commands.json` using compiledb. I'm aware that there is another tool Bear but for some reason it generates an empty `compile_commands.json` file for me.

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

  • Installing NH 3.7 on Win11 without using Linux?

    1 project | /r/nethack | 7 Dec 2023
  • First version of nethack with a bestiary?

    2 projects | /r/nethack | 3 Jun 2023
  • NetHack splash screen source? (question in comments)

    1 project | /r/nethack | 18 May 2023
  • FAAngband Help?

    1 project | /r/roguelikes | 18 May 2023
  • (...) instead of one single extremely large structure named 'g' to house all of the relocated global variables, they are distributed into several ga through gz. (...) To make things easy for the developer, each variable is placed into the struct corresponding to the starting letter of the variable.

    1 project | /r/programmingcirclejerk | 3 May 2023