August 30, 2019
On Wednesday, 28 August 2019 at 12:44:45 UTC, Andre Pany wrote:
>
> IntelliJ IDEA has a functionality to show parameter names in source code:
>
> https://www.jetbrains.com/help/rider/Inline_Parameter_Name_Hints.html
>
> This functionality does what the current goal of the DIP is.
>
> Unfortunately it isn't currently implemented in the D plugin for Intellij.
>
>
> Kind regards
> Andre

It does one part of the functionality, which is making function calls clearer. But so can every IDE tell you the args. Likewise, when opening a ( in function call in an IDE, they often show "ghost" argument names that you can fill in the gaps.

But these IDE features don't solve the "long parameter list with most being optional" (kinda like Builder pattern) thing, which this DIP also resolves.

August 30, 2019
On Friday, 30 August 2019 at 08:35:10 UTC, JN wrote:
> But these IDE features don't solve the "long parameter list with most being optional" (kinda like Builder pattern) thing, which this DIP also resolves.

But you could write a plugin to handle this based on the language specs, and show to the user through the IDE.

Matheus.
2 3 4 5 6 7 8 9 10 11 12
Next ›   Last »