## Summary - Highlight module name identifiers (e.g. `foo`, `bar` in `export module foo.bar;`) as `SymbolKind::Module` in semantic tokens - Highlight import module names (e.g. `foo` in `import foo;`) using `directives.imports` name locations - Module declarations use `getCurrentNamedModule()->DefinitionLoc` + lexer scan to find name tokens ## Test plan - [x] `SemanticTokens.ModuleDeclaration` — `export module foo;` - [x] `SemanticTokens.ModuleDeclarationDotted` — `export module foo.bar;` - [x] `SemanticTokens.ModuleImport` — PCM build + `import foo;` - [x] All 16 SemanticTokens tests pass, no regressions 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced semantic token support for C++20 modules, including dotted module names, partitions, fragments, imports and re-exports for more accurate highlighting. * **Bug Fixes** * Improved conflict resolution so directive tokens no longer mask other semantic kinds; ensures `module`/`import` used as identifiers are tokenized correctly. * **Tests** * Added unit tests covering module declarations, imports, partitions and edge cases. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
clice
clice is a next-generation language server designed for modern C++. Through excellent asynchronous task scheduling and intelligent caching, it achieves a lower memory footprint and faster response times.
Beyond performance, clice provides instantiation-aware template processing, supports switching header contexts between different source files (including non-self-contained headers), and offers comprehensive support for C++20 modules, from code completion to go-to-definition. Our goal is to provide C++ developers with a truly fast, precise, and intelligent development companion.
Important
Support for header contexts and C++20 modules are core features currently under active development. They will be progressively refined in upcoming releases. Stay tuned!
Getting started
Download the latest clice binary from the releases page and install the vscode extension. Then, add the following configuration to your .vscode/settings.json file:
{
// Optional: Set this to an empty string to turn off the clangd.
"clangd.path": "",
// Point this to the clice binary you downloaded.
"clice.executable": "/path/to/your/clice/executable",
}
Note
As an early version, please do not use it in a production environment. Crashes are expected, and we welcome you to submit issues.
Documentation
To learn more about building, installing, and configuring clice, or to dive deep into its features and architecture, please visit our official documentation at clice.io.