You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, when I accept "add missing include" from the suggested fixes for IncludeCleaner, clangd inserts headers with various paths:
just the filename (header.hpp)
the full path from my desktop (with /home/tor.shepherd/root-dir/relative-path/header.hpp)
However, header-insertion on autocomplete consistently produces the correct path (relative-path/header.hpp) according to my codebase's guidelines.
(Note, both utilities produce the correct headers for stdlib includes, except IncludeCleaner produces a full path to the actual header file for using namespace std::chrono_literals; and autocomplete doesn't add any include for this; I would expect to be added)