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

Query Type Information #167

Open nordlow opened 10 years ago

nordlow commented 10 years ago

It would be great if dcd-client was extended to query type of symbol/expression at cursor.

I've extended ac-dcd.el with eldoc support at

https://github.com/nordlow/ac-dcd/commit/b30dec3692874b2395d3fcdea0f1226a95ff5a34

for documentation of symbol at cursor. Having type in addition would be great complement to this information.

Hackerpilot commented 10 years ago

Storing a text representation (or enough information to construct a text representation) of every symbol would have a pretty big impact on memory use.

nordlow commented 10 years ago

Why doesn't DCD store type-information of symbols at least?

Hackerpilot commented 10 years ago

Storing that information takes up memory and it's not necessary for autocomplete.

nordlow commented 10 years ago

Ok.