Skip to content

docs: mention Bear for generating compile_commands.json for assembly projects#296

Merged
WillLillis merged 2 commits into
bergercookie:masterfrom
rizsotto:docs-mention-bear
Jul 8, 2026
Merged

docs: mention Bear for generating compile_commands.json for assembly projects#296
WillLillis merged 2 commits into
bergercookie:masterfrom
rizsotto:docs-mention-bear

Conversation

@rizsotto

@rizsotto rizsotto commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #295 (thanks for the quick go-ahead, @WillLillis).

The "Extend functionality via `compile_commands.json`/`compile_flags.txt`" section describes how asm-lsp consumes a compilation database, but not how to produce one for an assembly project. This adds a short pointer to Bear, which recognizes the nasm, yasm, and fasm assemblers and records each file's include directories and defines -- the same information asm-lsp reads for hover and diagnostics.

One-paragraph docs change only; no version number is hard-coded in the text.

Closes #295.

Copilot AI review requested due to automatic review settings July 7, 2026 07:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the README to document how to generate a compile_commands.json for assembly projects, complementing the existing section that describes how asm-lsp consumes compilation databases for hover and diagnostics.

Changes:

  • Add a short README note pointing users to Bear as a way to generate compile_commands.json during an assembly build.
  • Explain (briefly) that Bear can capture include directories and defines for supported assemblers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
@WillLillis WillLillis force-pushed the docs-mention-bear branch from bb088cd to 934a617 Compare July 8, 2026 03:48
rizsotto and others added 2 commits July 8, 2026 00:19
The "Extend functionality" section explained how asm-lsp consumes a
compile_commands.json but not how to produce one for an assembly project.
Bear recognizes nasm/yasm/fasm and records the include dirs and defines
asm-lsp reads, so add a one-line pointer. Closes #295.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@WillLillis WillLillis force-pushed the docs-mention-bear branch from 934a617 to 3d63c80 Compare July 8, 2026 04:19
@WillLillis WillLillis enabled auto-merge (rebase) July 8, 2026 04:22
@WillLillis WillLillis merged commit ebc00fd into bergercookie:master Jul 8, 2026
15 checks passed
@WillLillis

Copy link
Copy Markdown
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: mention Bear as a way to generate compile_commands.json for assembly projects

3 participants