Repository navigation
v2.1.1
Completes and fixes the OIer-focused 2.1.0 update. The 2.1.1 CI run passes with Python 3.9/3.10/3.12/3.14 and the libclang tests enabled on Ubuntu 24.04.
Highlights
- GNU
__gnu_pbdsdatabase: completion and member signature deduction fortree,gp_hash_table,cc_hash_table, includingorder_of_key/find_by_orderand key-aware signatures.__int128,__int128_t,__uint128_tare recognised. - Bundled template packs: Basic, Geometry, Graph, DS, Strings and Math ship inside the package and install on demand. Uninstalled packs do not appear in completion; disabled packs stay hidden until re-enabled.
- Menu localization actually works:
CppAssistant: Toggle Menu Languagegenerates a tinyCppAssistantLocalizationoverlay that translates CppAssistant's own menu entries only. Sublime's built-in menus and user menu files are untouched. - Diagnostic filtering:
diagnostic_filtersis normalised/sanitised and applied to the compiler command, clangd fallback flags and libclang arguments.
Bug fixes
- Array bounds checking: skips declarators, follows lexical scopes, handles shadowed arrays, multi-dimensional chains, hex/binary/octal/suffixed constants, and ignores member access.
- Diagnostic copy (
Ctrl+Shift+C) reads structured diagnostics and prefers errors on the current line. - Snippet installer: XML validation, safe trigger names, overwrite confirmation, JSON import validation; template-pack downloads keep zip-slip protection.
- Diagnostics preserve
-W...codes before translation, so filters work consistently.
Upgrade notes
No settings changes are required. If you see translations from an older install, restart Sublime Text after upgrading. Package Control users receive CppAssistant.sublime-package automatically.