Nathan James

Results 31 comments of Nathan James

What do the logs say, do the mention anything about inferring the compile command for child1.hpp?

I feel this is something that could be controlled via Config in a similar way to `Diagnostics->Suppress` ```yaml Diagnostics: AGoodNameForAnOptionToLowerDiagnosticsToHintLevel: - Wunused-parameter # clang warning flags - performance-noexcept-move-constructor # clang-tidy...

Interesting, I got clangd and clang-tidy to dump the effective options used for processing main.cc This was the diff ``` ➜ diff clangd.log clang-tidy.log 2c2 < Checks: "*,\n-modernize-use-trailing-return-type\n,-llvm-header-guard,-bugprone-use-after-move" --- >...

While it sounds good in theory, this really doesn't scale well. In order to do this, clangd would need to parse all files in your project, which on large projects...

That sounds like a solid plan, but I'd extend it to also look for the fallback `CompileFlags.txt`

Should point out I'm not an apple user. It may be nice to have this automatically, but until then it should just be a case of calling xcrun with the...

Right click on the status bar and you can hide clangd status.

A side note, if you are using a fairly recent build, config file errors will appear in the errors tab, avoiding the need to check logs

If there is conflicts you can use `>Preferences: Open Keyboard Shortcuts` to change the shortcut from `Alt+O` to whatever you like.

Can't speak for earlier versions, but since clangd-11, `--clang-tidy` and `--cross-file-rename` default to true.