Skip to content

Added C++ modules extension#223

Merged
blopker merged 1 commit intoblopker:mainfrom
niekdomi:cpp-modules-extension
Mar 8, 2026
Merged

Added C++ modules extension#223
blopker merged 1 commit intoblopker:mainfrom
niekdomi:cpp-modules-extension

Conversation

@niekdomi
Copy link
Copy Markdown
Contributor

@niekdomi niekdomi commented Mar 3, 2026

This allows to detect C++ modules. Modules are a feature that got added in C++20. They normally have a cppm extension, sometimes (mostly MSVC) a ixx or mxx.

https://en.wikipedia.org/wiki/Modules_(C%2B%2B)

Copilot AI review requested due to automatic review settings March 3, 2026 21:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds recognition of C++20 module source files by extending the C++ language configuration to include common module file extensions, so Codebook can apply the C++ Tree-sitter query and dictionaries when spell-checking those files.

Changes:

  • Extend C++ language extension matching to include cppm, ixx, and mxx.

@blopker
Copy link
Copy Markdown
Owner

blopker commented Mar 8, 2026

Awesome, thank you!

@blopker blopker merged commit 54d27d6 into blopker:main Mar 8, 2026
13 of 14 checks passed
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.

3 participants