Jump to page: 1 2 3
Thread overview
Visual D 1.1.0 released
Mar 02, 2021
Rainer Schuetze
Mar 02, 2021
Imperatorn
Mar 03, 2021
Bastiaan Veelo
Mar 03, 2021
Bastiaan Veelo
Mar 04, 2021
Rainer Schuetze
Mar 04, 2021
Imperatorn
Mar 04, 2021
Imperatorn
Mar 04, 2021
Bastiaan Veelo
Mar 04, 2021
Imperatorn
Mar 05, 2021
Kagamin
Mar 05, 2021
Imperatorn
Mar 06, 2021
Rainer Schuetze
Mar 06, 2021
Imperatorn
Mar 10, 2021
Rainer Schuetze
Mar 12, 2021
Imperatorn
Mar 05, 2021
Rainer Schuetze
Mar 05, 2021
Imperatorn
Mar 04, 2021
James Lu
Mar 05, 2021
Rainer Schuetze
Mar 06, 2021
kinke
Mar 27, 2021
Dylan Graham
March 02, 2021
Hi,

development on Visual D, the Visual Studio extension that adds D language support to VS 2008-2019, has been rather slow recently, but finally the results of recent months have been released.

Some highlights of this new version:

- semantic engine updated to frontend 2.095.1

- adds "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.

- integrates dfmt for command "Format Document"

See https://rainers.github.io/visuald/visuald/VersionHistory.html for a full list of changes.

You can find the update installer or a full installer bundled with latest versions of DMD and LDC here:

https://rainers.github.io/visuald/visuald/StartPage.html

Cheers,
Rainer
March 02, 2021
On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
> Hi,
>
> development on Visual D, the Visual Studio extension that adds D language support to VS 2008-2019, has been rather slow recently, but finally the results of recent months have been released.
>
> [...]

Thank you!!!
March 03, 2021
On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
> finally the results of recent months have been released.

All very cool features, thank you very much!!

--Bastiaan.
March 03, 2021
On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
> You can find the update installer or a full installer bundled with latest versions of DMD and LDC here:
>
> https://rainers.github.io/visuald/visuald/StartPage.html

For clarity, the converse is not true. If you use the official dmd installer (.exe) and select "Download Visual D" in it then you end up with only version 0.50 of VisualD.

-- Bastiaan.
March 04, 2021

On 04/03/2021 00:07, Bastiaan Veelo wrote:
> On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
>> You can find the update installer or a full installer bundled with latest versions of DMD and LDC here:
>>
>> https://rainers.github.io/visuald/visuald/StartPage.html
> 
> For clarity, the converse is not true. If you use the official dmd installer (.exe) and select "Download Visual D" in it then you end up with only version 0.50 of VisualD.

Version 0.50 was the first to include automatic checks for updates, so it is hopefully not that much of a problem.

But point taken, the DMD installer should be updated from time to time, too. Or just check for the latest version...
March 04, 2021
On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
> Hi,
>
> development on Visual D, the Visual Studio extension that adds D language support to VS 2008-2019, has been rather slow recently, but finally the results of recent months have been released.
>
> Some highlights of this new version:
>
> - semantic engine updated to frontend 2.095.1
>
> - adds "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.
>
> - integrates dfmt for command "Format Document"
>
> See https://rainers.github.io/visuald/visuald/VersionHistory.html for a full list of changes.
>
> You can find the update installer or a full installer bundled with latest versions of DMD and LDC here:
>
> https://rainers.github.io/visuald/visuald/StartPage.html
>
> Cheers,
> Rainer

A few questions.

How hard would the following be:

1. Highlight code as dead or alive in static if

2. Show typeid when hovering over a variable

I have gifs showing what I mean. I'll post them when I get back to my laptop.


March 04, 2021
On Thursday, 4 March 2021 at 13:29:11 UTC, Imperatorn wrote:
> On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
>> [...]
>
> A few questions.
>
> How hard would the following be:
>
> 1. Highlight code as dead or alive in static if
>
> 2. Show typeid when hovering over a variable
>
> I have gifs showing what I mean. I'll post them when I get back to my laptop.

https://filebin.net/19gupoeedfdjx5tx

One GIF is the behaviour in C# I would like to have in D as well with static if, and the other is displaying typeid on hover.
March 04, 2021
On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
> Hi,
>
> development on Visual D, the Visual Studio extension that adds D language support to VS 2008-2019, has been rather slow recently, but finally the results of recent months have been released.
>
> Some highlights of this new version:
>
> - semantic engine updated to frontend 2.095.1
>
> - adds "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.
>
> - integrates dfmt for command "Format Document"
>
> See https://rainers.github.io/visuald/visuald/VersionHistory.html for a full list of changes.
>
> You can find the update installer or a full installer bundled with latest versions of DMD and LDC here:
>
> https://rainers.github.io/visuald/visuald/StartPage.html
>
> Cheers,
> Rainer

Hi,

I've gotten D articles to the frontpage of Hacker News 4 times.

I think this would be a good candidate to get to the frontpage of Hacker News again.

I want you to submit it to Hacker News, then add a comment saying:

* Explain why you made this
* Explain what's interesting about Visual D
* Offer to explain questions

Use the title: "Visual Studio Code for D Language 1.1.0"
March 04, 2021
On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:
> On Thursday, 4 March 2021 at 13:29:11 UTC, Imperatorn wrote:
>> On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:
>>> [...]
>>
>> A few questions.
>>
>> How hard would the following be:
>>
>> 1. Highlight code as dead or alive in static if
>>
>> 2. Show typeid when hovering over a variable
>>
>> I have gifs showing what I mean. I'll post them when I get back to my laptop.
>
> https://filebin.net/19gupoeedfdjx5tx
>
> One GIF is the behaviour in C# I would like to have in D as well with static if, and the other is displaying typeid on hover.

It already does this, I would say.

1. The D equivalent of your use of `#if ... #else ... #endif` is `version() {...} else {...}`, which works in VisualD the same way as you show. `static if` is different: the condition often depends on the value of template parameters, so this does not simply translate to "dead" or "alive" in every case.

2. typeid is a runtime concept (takes inheritance into account) so this won't work in an editor outside of a debugging session. However VisualD already shows the (static) type and scope of variables on mouse-over, which is all you can wish for, I think.

-- Bastiaan.
March 04, 2021
On Thursday, 4 March 2021 at 17:18:38 UTC, Bastiaan Veelo wrote:
> On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:
>> [...]
>
> It already does this, I would say.
>
> 1. The D equivalent of your use of `#if ... #else ... #endif` is `version() {...} else {...}`, which works in VisualD the same way as you show. `static if` is different: the condition often depends on the value of template parameters, so this does not simply translate to "dead" or "alive" in every case.
>
> 2. typeid is a runtime concept (takes inheritance into account) so this won't work in an editor outside of a debugging session. However VisualD already shows the (static) type and scope of variables on mouse-over, which is all you can wish for, I think.
>
> -- Bastiaan.

Oh, maybe Visual D has been updated with it lately? When I made the gif (some months ago?) you can see that no type information is available.
« First   ‹ Prev
1 2 3