Skip to content

Added C++ modules extension#223

Open
niekdomi wants to merge 1 commit intoblopker:mainfrom
niekdomi:cpp-modules-extension
Open

Added C++ modules extension#223
niekdomi wants to merge 1 commit intoblopker:mainfrom
niekdomi:cpp-modules-extension

Conversation

@niekdomi
Copy link
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
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.

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.

2 participants