DCD icon indicating copy to clipboard operation
DCD copied to clipboard

DCD does not support templated declarations

Open Hackerpilot opened this issue 12 years ago • 6 comments

Given the following code (vertical pipe is the cursor position)

struct SomeStruct(T) { T field; }
SomeStruct!(float) bar;
bar.field.|

DCD should show completions such as "max", "epsilon", etc.

Hackerpilot avatar Aug 18 '13 02:08 Hackerpilot

@RUSshy the plan is when dmd front-end starts to be more easily usable as library to use that, instead re-implementing the semantic from scratch.

PetarKirov avatar Dec 03 '20 16:12 PetarKirov

There's a ton of work to be done, so don't expect something usable soon. You can check out some of the progress in this area on the newsgroup: https://forum.dlang.org/search?q=SAOC2020+Improving+DMD+as+a+Library&search=Search

PetarKirov avatar Dec 07 '20 21:12 PetarKirov