digitalmars.D.ide - Type hint annotation in VsCode / code-d / DCD
- frame (7/7) Jun 15 2021 Is there an annotation type hint for DCD? like
- WebFreak001 (2/9) Jun 15 2021 no the only thing you can do is change auto to the actual type.
Is there an annotation type hint for DCD? like ```d // type(S!T) auto foo = fun(); ``` Code-completion does a good job if fun() is called in a chain directly but the type information is lost at variable foo.
Jun 15 2021
On Tuesday, 15 June 2021 at 18:52:25 UTC, frame wrote:Is there an annotation type hint for DCD? like ```d // type(S!T) auto foo = fun(); ``` Code-completion does a good job if fun() is called in a chain directly but the type information is lost at variable foo.no the only thing you can do is change auto to the actual type.
Jun 15 2021