Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
December 27, 2020 Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Hi, finally, there is a new version of Visual D being prepared. Apart from updating the semantic engine to the latest (prerelease) version of dmd, it features adding "adornments" (Visual Studio terminology) to the call site of parameters that are passed by (mutable) ref, out or lazy. See https://rainers.github.io/visuald/visuald/images/parameterstorage.png for some examples. What do you think of this feature? What about the slight inconsistency between struct member function calls and UFCS calls? If it's too annoying, you can disable the feature on the "Intellisense" options page. You can grab the new installer at https://github.com/dlang/visuald/releases/tag/v1.1.0-beta1 Best, Rainer |
January 03, 2021 Re: Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On Sunday, 27 December 2020 at 11:13:43 UTC, Rainer Schuetze wrote: [..] > it features adding "adornments" (Visual Studio terminology) to the call > site of parameters that are passed by (mutable) ref, out or lazy. > > See https://rainers.github.io/visuald/visuald/images/parameterstorage.png for some examples. > > What do you think of this feature? Initially I found it slightly jarring... but it has grown on me. I'm starting to like it! I'm leaving it on... > What about the slight inconsistency between struct member function calls and UFCS calls? No problem at all. It is actually a nice "visual" clue that you are looking at a UFCS call. Handy! Once more, thanks for VisualD. |
January 04, 2021 Re: Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On Sunday, 27 December 2020 at 11:13:43 UTC, Rainer Schuetze wrote:
> Hi,
>
> finally, there is a new version of Visual D being prepared.
Thank you for your efforts.
What about the following feature?
User is able to feed VisualD with the path to dub file. VisualD starts to track file modifications. It is a black-box for it. If VisualD detects dub.sdl modification, then it shows popup a-la "dub.sdl has been modified. Regenerate solution?" Perhaps, user should have an option to save additional command-line arguments in the project options.
So the rationale is to minimize visuald project regeneration via console.
We can consider CMakeLists.txt handling in Visual Studio for inspiration.
|
January 04, 2021 Re: Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eliatto |
On 04/01/2021 18:20, Eliatto wrote:
> On Sunday, 27 December 2020 at 11:13:43 UTC, Rainer Schuetze wrote:
>> Hi,
>>
>> finally, there is a new version of Visual D being prepared.
>
> Thank you for your efforts.
> What about the following feature?
> User is able to feed VisualD with the path to dub file. VisualD starts
> to track file modifications. It is a black-box for it. If VisualD
> detects dub.sdl modification, then it shows popup a-la "dub.sdl has been
> modified. Regenerate solution?" Perhaps, user should have an option to
> save additional command-line arguments in the project options.
> So the rationale is to minimize visuald project regeneration via console.
> We can consider CMakeLists.txt handling in Visual Studio for inspiration.
Visual D has some very basic dub support since version 0.51: if a project is generated via dub, it has dub.sdl/json as a file in the project. If this exists you can use "dub refresh" from the context menu in the solution explorer to rebuild the solution, so need to change to the command line.
Adding some watch for modification of that file seems like a simple extension. Not sure if it will make it into the coming release, though.
|
January 06, 2021 Re: Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On Sunday, 27 December 2020 at 11:13:43 UTC, Rainer Schuetze wrote:
> Hi,
>
> finally, there is a new version of Visual D being prepared. Apart from
> updating the semantic engine to the latest (prerelease) version of dmd,
> it features adding "adornments" (Visual Studio terminology) to the call
> site of parameters that are passed by (mutable) ref, out or lazy.
>
> See https://rainers.github.io/visuald/visuald/images/parameterstorage.png for some examples.
>
> What do you think of this feature?
> What about the slight inconsistency between struct member function calls
> and UFCS calls?
>
> If it's too annoying, you can disable the feature on the "Intellisense" options page.
>
> You can grab the new installer at https://github.com/dlang/visuald/releases/tag/v1.1.0-beta1
>
> Best,
> Rainer
Thanks a ton! 👍👍👍
|
January 06, 2021 Re: Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On Sunday, 27 December 2020 at 11:13:43 UTC, Rainer Schuetze wrote:
> Hi,
>
> finally, there is a new version of Visual D being prepared. Apart from
> updating the semantic engine to the latest (prerelease) version of dmd,
> it features adding "adornments" (Visual Studio terminology) to the call
> site of parameters that are passed by (mutable) ref, out or lazy.
>
> See https://rainers.github.io/visuald/visuald/images/parameterstorage.png for some examples.
>
> What do you think of this feature?
> What about the slight inconsistency between struct member function calls
> and UFCS calls?
>
> If it's too annoying, you can disable the feature on the "Intellisense" options page.
>
> You can grab the new installer at https://github.com/dlang/visuald/releases/tag/v1.1.0-beta1
>
> Best,
> Rainer
Btw, my company wanted (earlier in 2020 anyway) to donate/support the development of Visual D specifically. Is that possible?
Thanks!
|
January 09, 2021 Re: Visual D 1.1.0-beta1 shows parameter storage at call site | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn |
On 06/01/2021 16:56, Imperatorn wrote:
> On Sunday, 27 December 2020 at 11:13:43 UTC, Rainer Schuetze wrote:
>> Hi,
>>
>> finally, there is a new version of Visual D being prepared. Apart from
>> updating the semantic engine to the latest (prerelease) version of dmd,
>> it features adding "adornments" (Visual Studio terminology) to the call
>> site of parameters that are passed by (mutable) ref, out or lazy.
>>
>> See https://rainers.github.io/visuald/visuald/images/parameterstorage.png for some examples.
>>
>> What do you think of this feature?
>> What about the slight inconsistency between struct member function calls
>> and UFCS calls?
>>
>> If it's too annoying, you can disable the feature on the "Intellisense" options page.
>>
>> You can grab the new installer at https://github.com/dlang/visuald/releases/tag/v1.1.0-beta1
>>
>> Best,
>> Rainer
>
> Btw, my company wanted (earlier in 2020 anyway) to donate/support the development of Visual D specifically. Is that possible?
Thank you for considering supporting the project.
Mike asked me about that, too. I haven't been able to do much on Visual D over the last months, so I am hesitating to set something up while not being able to dedicate more time.
|
Copyright © 1999-2021 by the D Language Foundation