Skip to content

v2.1.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 10:48
· 24 commits to main since this release

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_pbds database: completion and member signature deduction for tree, gp_hash_table, cc_hash_table, including order_of_key / find_by_order and key-aware signatures. __int128, __int128_t, __uint128_t are 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 Language generates a tiny CppAssistantLocalization overlay that translates CppAssistant's own menu entries only. Sublime's built-in menus and user menu files are untouched.
  • Diagnostic filtering: diagnostic_filters is 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.