dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 71 forks source link

Properly implement pointer types & resolve pointers, arrays and AAs in output #725

Closed WebFreak001 closed 1 year ago

WebFreak001 commented 1 year ago

supersedes PR fix #715

@ryuukk this supersedes that PR you made that extended the type details to foo -> T syntax. I decided to only have the resolved type here, there is a fallback to use the function name on unknown types though. We could probably expose this information elsewhere though and show it somehow in serve-d.

@vushu there is a single UFCS line fix in here, which you probably want to include in your PR as well

If any of you could also review, that would be nice.

vushu commented 1 year ago

@WebFreak001 I have included your change to ufcs in my current PR.