top | item 46276070

(no title)

spot5010 | 2 months ago

Pre LLM agents, a trick that I used was to type in

auto var = FunctionCall(...);

Then, in the IDE, hover over auto to show what the actual type is, and then replace auto with that type. Useful when the type is complicated, or is in some nested namespace.

discuss

order

connicpu|2 months ago

That's what I still do. Replacing auto with deduced type is one of my favorite clangd code actions.