[Qt-creator] clangd + qtc vs clangd + any editor

Алексей Скородумов 2350266 at gmail.com
Thu Feb 23 10:26:09 CET 2023


1. Speed and responsiveness (main argument vs VS Code and CLion). Easy to
demonstrate with "find all usage for symbol under cursor" (Ctrl+Shift+U).
2. git integration: git blame, git log, git rebase inetractive, git add
interactive etc. I never need to use external git tools.
3. "go to cmake target definition" ("cmo" in locator) and "build cmake
target"  ("cm" in locator) actions are a very useful feature, especially
for big projects.
4. Refactoring actions (I assume some of them not based on clangd)
5. Qt Creator gently encourages command line workflow (locator -> ctrk+k).
I think that is much more efficient than visual switching between tabs and
using menus.

Best regards,
Aleksei Skorodumov

On Thu, Feb 23, 2023 at 6:40 AM Knut Petter Svendsen via Qt-creator <
qt-creator at qt-project.org> wrote:

> I often get asked by my coworkers why I use qtcreator for general C++
> development (non-Qt) when you can use clangd with "any" editor and get
> code completion, navigation, refactoring etc. Often they mention vscode
> and/or vim.
> Assuming that you have a build system in place that can generate a
> compile_commands.json file, which advantages does QtCreator give? (non-Qt
> c++)
> I do have a personal preference for QtCreator, but I would greatly
> appreciate it if you could provide me with some insight on the matter.
> --
> Knut Petter Svendsen
> --
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20230223/a6425235/attachment.htm>

More information about the Qt-creator mailing list