DCD
DCD copied to clipboard
dcd gives autocompletion when the caret is within a string
I was doing some testing recently and typed pragma(msg, "A pragma statement").
Interestingly I got an auto-complete option for pragma whilst typing the string "A pragma statement". DCD should have been able to detect that the caret was within a string so should not have given this option.
This was on dcd 0.13.1
This isn't just pragma statements. I tested with writeln("imp"); with the caret just after the 'p' and was able to get an auto-completion for import which, when hitting return, then resulted in:
writeln("import std.stdio;
");
This is related to the intellij-dlanguage plugin but the auto-completion options are driven by dcd.