<div dir="ltr">Hi clangd-dev,<div><br></div><div>I have just posted a design doc about adding the expected types to the C++ completions:</div><div><a href="https://docs.google.com/document/d/1_BSeTIr2aLA6wKKCRCajSI0AdnjhvgK4BXXJQX-Dsro/edit#">https://docs.google.com/document/d/1_BSeTIr2aLA6wKKCRCajSI0AdnjhvgK4BXXJQX-Dsro/edit#</a><br></div><div><br></div><div>It serves two purposes:<br></div><div>- List possible improvements to code completion that can be gained by using more semantic information available in Clang.</div><div>- Discuss the design of type-based ranking in presence of the index, i.e. when some completions are not from Sema.<br></div><div><div><br></div><div>The first half of the document attempts to enumerate interesting cases where completions can be improved by using type information. It would be great to get ideas from anyone interested in improvements to ClangD completions in general,  the 'Anticipated Improvements' is there to collect a raw list of nice-to-have cases, feel free to contribue!</div><div><br></div><div>The second half is targeted at a narrower audience, specifically anyone who's interested in support of type-based ranking with index enabled in ClangD. If you're interested, please take a look.</div></div><div><br></div><div>Feedback and suggestions are very welcome!<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div></div></div>