Code formatting and documentation on hover in VisualD?

Rainer Schuetze r.sagitario at
Sun Jul 19 14:58:08 UTC 2020

On 18/07/2020 09:03, blizzard wrote:
> On Saturday, 18 July 2020 at 06:34:23 UTC, Rainer Schuetze wrote:
>> Visual D supports "formatting" with regard to indentation, but not
>> reflowing the code across multiple lines.
> Can you please add support for
> or whatever the vscode extension uses.

You are not the first to ask, but I'm not a big fan of these
auto-formatters. So I wouldn't hold my breath, but pull request
welcome... ;-)

>> Documentation should show up in tool tips as long as it is written in
>> ddoc style.
> I don't know what ddoc style comment is but this is what I get
> for every symbol that I have tried it on.

ddoc style is the way to get documentation as built into the compiler.
Most documentation is written this way.

Indeed, there are/were some troubles with modules not loaded in the
editor and templates, readln is an example for both issues.

I have fixed these, please try

>> Not sure if the D extensions in VS code also grab other comments.
> The VSCode extension provides an option to search a particular symbol in
> dpldocs and then opens its corresponding page in vscode itself.

If you press F1 on an identifier Visual D will take you to its
documentation that was installed with the compiler.

More information about the Digitalmars-d-ide mailing list