Графік комітів
8 Коміти
Автор SHA1 Повідомлення Дата
Yohann CATHERINEтаyohannlog 0303a513cd feat(cmake): Reload CMake Project and Reset Cache and Reload (#7537)
Adds Reload CMake Project, which configures the active profile again and refreshes its targets and compile_commands.json, and Reset Cache and Reload CMake Project, which first deletes the build directory's CMakeCache.txt and CMakeFiles through the new cmake_reset_cache command and keeps the build type the cache held. A failed delete is reported and nothing is configured. Both are in a Build > CMake submenu shown while the project has CMake configurations, in Find Action and in the title-bar CMake profile switcher; the configure output shows in the Run window.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 22:05:29 +08:00
Yohann CATHERINEтаyohannlog 17dd723a3d feat(cpp): generate constructors, accessors and operators in C++ classes (#7536)
Generate (Cmd+N / Alt+Insert) in a C++ class or struct now offers Constructor, Getter, Setter, Getter and Setter, Equality Operators and Stream Output Operator next to clangd's own generate actions. Fields are picked in the member chooser and the members are written at the end of the class in a public section; accessors with no field left to write are listed greyed out with the reason. Stream output adds #include <ostream> when no stream header is included. Headers opened as C get the entries when they hold C++ code, and clangd's "Declare implicit copy/move members" now counts as a generate action.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 21:59:57 +08:00
Yohann CATHERINEтаyohannlog 8dc1fecc0e feat(templates): C and C++ live templates (#7535)
Adds live templates for C, C++ and Objective-C(++): a C set (main, fori, if/ife, while, do, sw, st, tds, en, inc/incl, incg include guard named after the file, ifdef/ifndef, pf) and a C++ set (iter, itit, ritit, cl, cls, nsp, tmpl, lam, try, cout/cerr/cin, uptr/sptr, sc, GoogleTest test, Catch2/doctest tc). Documented on the C/C++ language page.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 21:40:11 +08:00
Yohann CATHERINEтаyohannlog 5debc5297b feat(cmake): CLion-style profiles, presets and toolchains (#7262)
CMake gets CLion-style profiles (build type, generator, build directory, CMake options, environment), CMake presets as profiles, and toolchains (compilers, build tool, debugger, environment script). Only the active profile is detected; target ids have their own namespace, configurations from the older per-profile ids are migrated with their suppressions and before-launch references, the toolchain's build program is passed only to a compatible generator, and a profile switch refreshes the derived executable and build arguments while keeping user edits.

Co-authored-by: yohannlog <[email protected]>
2026-12-02 15:35:21 +08:00
LU XIANGRUIтаwildcatDownstairs 09a44bebbe feat(lsp): serve C-family files of Xcode projects through sourcekit-lsp (#7023)
In an Xcode project plain clangd finds no compile flags, so headers on the target's search paths and the generated <Module>-Swift.h were not found. C, C++, Objective-C and Objective-C++ now list sourcekit-lsp before clangd with require-root-marker on buildServer.json and replaces clangd: with an Xcode BSP config sourcekit-lsp serves them with the build server's flags; without one, or without sourcekit-lsp, clangd serves as before.

Closes #7022

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-30 21:32:00 +08:00
LU XIANGRUIтаwildcatDownstairs 7237a37104 feat(language): bundle the Objective-C tree-sitter grammar for outline, folding and symbols (#7027)
Bundles tree-sitter-objc (MIT) with an outline query for Objective-C and Objective-C++: @interface/@implementation/@protocol blocks, categories, methods named by selector, properties, instance variables, C declarations and #pragma mark labels, so the Structure view, folding and the symbol index work for .m and .mm files. The built-in syntax-error diagnostics skip both languages, since the grammar misreads Apple's macros and C++.

Closes #7026

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-30 21:29:33 +08:00
LU XIANGRUIтаwildcatDownstairs 093cf6fdf8 feat(cpp): switch between a header and its source file (#6928)
A Switch Header/Source action (F10; Alt+O in the VS Code keymaps) opens the counterpart of the current C, C++, Objective-C or Objective-C++ file. It asks clangd with textDocument/switchSourceHeader (new lsp_switch_source_header, cancellable), so headers in include/ and sources in src/ are found; without clangd or an answer it opens a project file with the same stem and a counterpart extension, as Related Symbol does.

Closes #6927

Co-authored-by: wildcatDownstairs <[email protected]>

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-30 12:00:32 +08:00
l0ng-ai dbdf610ffa docs: add the Mintlify documentation site (#2528)
Closes #1543
2026-11-10 21:06:30 +08:00