6 ms·
> It's a nice idea, but it's hard to do. One person is using VIM... The things the author listed there are commonly not IDE integrated. I've never seen a C++ d
by electroly 3y ago
> It's a nice idea, but it's hard to do. One person is using VIM...
The things the author listed there are commonly not IDE integrated. I've never seen a C++ development environment where cpplint/clang-tidy and fuzzers are IDE integrated, they're too slow to run automatically on keystrokes. Auto-formatting is the only one that is sometimes integrated. All of this stuff you can do from the command line without caring about each user's chosen development environment. You should definitely at least try rather than giving up before you start just because you have two different text editors in use. This is C++; if your team won't install any tools, you're gonna have a bad time. Consider containerizing the tools so it's easier.
- gpderetta 3y agoClangd will happily run clang-tidy as part of completion/compile-as-you-type/refactor/auto independent. On the editor/IDE of your choose. I wouldn't call it fast, but it is quite usable.
- throwaway2037 3y ago> I've never seen a C++ development environment where cpplint/clang-tidy and fuzzers are IDE integrated CLion from JetBrains has clang-tidy integrated (real-time).
- planede 3y agoI assume it's clangd? It can be used from vim, vscode, ... etc as well and get a uniform IDE diagnostic experience across text editors.
- chlorion 3y agoIn Emacs I have clangd and clang-tidy running on each key stroke! The project size is probably a lot smaller than what most people are working on though, and I have a fast CPU and NVME disk, but it's definitely possible to do! I'm not sure about the fuzzer part though.