Example unittests?

Paul Backus snarwin at gmail.com
Mon Oct 17 03:42:51 UTC 2022


On Monday, 17 October 2022 at 03:07:04 UTC, WebFreak001 wrote:
> In particular I'm looking at 
> https://github.com/dlang-community/DCD/pull/684 which now shows 
> all documented unittests as part of the hover / autocomplete 
> documentation. It's quite a big chunk of information and less 
> might be more while the user doesn't want to look at the full 
> documentation.

Frankly I think the doc comment by itself is already too much 
information to squeeze into a hover popup. I would much rather 
have a clickable link to the nicely-rendered HTML documentation 
(which has proper formatting and cross references) than a giant 
box full of unprocessed DDoc macros covering up the code I'm 
working on.

Of course, I don't use any of this stuff in the first place, so 
take my opinion with a grain of salt. :)


More information about the Digitalmars-d mailing list