serve-d icon indicating copy to clipboard operation
serve-d copied to clipboard

Auto-import/import-suggestions

Open 0xEAB opened this issue 6 years ago • 0 comments

It would be pretty cool to have auto-imports (import suggestions).

Means e.g.

void main()
{
	auto f = new File|
}

Intellisense would now suggest File from std.stdio and automatically add import std.stdio; to the module as soon as one hits [Enter] or whatsoever to insert the suggested File.

Actually it's a pretty common feature and D is the only language I'm currently programming in that there's no implementation for this. Also manually specifing those imports is basically just busywork.

This would be my huge feature request for 2020…

0xEAB avatar Dec 26 '19 13:12 0xEAB