Code formatting and documentation on hover in VisualD?
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Jan 9 18:28:59 UTC 2021
On Wednesday, 18 November 2020 at 20:41:46 UTC, Bastiaan Veelo
wrote:
> On Monday, 20 July 2020 at 14:03:32 UTC, blizzard wrote:
>> I set up dfmt using
>> https://docs.microsoft.com/en-us/visualstudio/ide/managing-external-tools?view=vs-2019
>> Works good enough for me :D
>
> Nice! For the impatient VS 2019 user:
>
> Tools -> External Tools...
> Add
>
> Title: d&fmt
> Command: C:\D\dmd2\windows\bin\dub.exe
> Arguments: run dfmt -- --inplace $(ItemPath)
> Initial Directory: $(ItemDir)
>
> v Close on exit
>
> Now Alt+T Alt+F will reformat the current file on disk. If you
> forgot to save the file first, VS will warn that the file
> changed on disk and ask if you want to discard unsaved changes;
> Reply No, save and try again.
>
> -- Bastiaan.
Good to know
More information about the Digitalmars-d-ide
mailing list