digitalmars.D.announce - Visual D 1.1.0 released
- Rainer Schuetze (18/18) Mar 02 2021 Hi,
- Imperatorn (2/8) Mar 02 2021 Thank you!!!
- Bastiaan Veelo (3/4) Mar 03 2021 All very cool features, thank you very much!!
- Bastiaan Veelo (5/8) Mar 03 2021 For clarity, the converse is not true. If you use the official
- Rainer Schuetze (5/14) Mar 03 2021 Version 0.50 was the first to include automatic checks for updates, so
- Imperatorn (7/28) Mar 04 2021 A few questions.
- Imperatorn (4/12) Mar 04 2021 https://filebin.net/19gupoeedfdjx5tx
- Bastiaan Veelo (12/31) Mar 04 2021 It already does this, I would say.
- Imperatorn (4/17) Mar 04 2021 Oh, maybe Visual D has been updated with it lately? When I made
- Kagamin (4/8) Mar 05 2021 The second is a debug session. Visual Studio doesn't show type
- Imperatorn (2/11) Mar 05 2021 True, but could it?
- Rainer Schuetze (4/15) Mar 05 2021 Visual D already does that with the help of the semantic highlighting:
- Imperatorn (4/22) Mar 06 2021 Oh, I see. What about dub integration. How much effort would it
- Rainer Schuetze (11/34) Mar 09 2021 I'm not much of a dub user. Last time I checked, using it as a package
- Petar Kirov [ZombineDev] (13/52) Mar 12 2021 As far as I remember (circa 2015) Mono-D [0] was the IDE with the
- Imperatorn (3/17) Mar 12 2021 Yeah, this would be awesome deluxe
- Rainer Schuetze (11/19) Mar 05 2021 Adding to what Bastiaan said:
- Imperatorn (7/28) Mar 05 2021 Ok, thanks for working on Visual D. Imo it's the best IDE we have
- James Lu (10/31) Mar 04 2021 Hi,
- Rainer Schuetze (5/48) Mar 05 2021 Thanks for the suggestion. I'm not a user of these social news sites,
- kinke (3/5) Mar 06 2021 Very cool.
- Dylan Graham (4/10) Mar 26 2021 Thanks for update. I love the adornments feature - one thing I
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
Mar 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!!!
Mar 02 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.
Mar 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.htmlFor 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.
Mar 03 2021
On 04/03/2021 00:07, Bastiaan Veelo wrote:On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote: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...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.htmlFor 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.
Mar 03 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, RainerA 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.
Mar 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:https://filebin.net/19gupoeedfdjx5tx with static if, and the other is displaying typeid on hover.[...]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.
Mar 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: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.On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:https://filebin.net/19gupoeedfdjx5tx well with static if, and the other is displaying typeid on hover.[...]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.
Mar 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: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.[...]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.
Mar 04 2021
On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:https://filebin.net/19gupoeedfdjx5tx well with static if, and the other is displaying typeid on hover.The second is a debug session. Visual Studio doesn't show type and value.
Mar 05 2021
On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote:On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:True, but could it?https://filebin.net/19gupoeedfdjx5tx well with static if, and the other is displaying typeid on hover.The second is a debug session. Visual Studio doesn't show type and value.
Mar 05 2021
On 05/03/2021 12:26, Imperatorn wrote:On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote:Visual D already does that with the help of the semantic highlighting: if an identifier is classified as a type or compile time value, it suppresses the debugger data tool tip and presents the usual one.On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:True, but could it?https://filebin.net/19gupoeedfdjx5tx static if, and the other is displaying typeid on hover.The second is a debug session. Visual Studio doesn't show type
Mar 05 2021
On Saturday, 6 March 2021 at 06:59:28 UTC, Rainer Schuetze wrote:On 05/03/2021 12:26, Imperatorn wrote:Oh, I see. What about dub integration. How much effort would it be to have something similar to what code-d has in vsc? Guesstimation?On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote:Visual D already does that with the help of the semantic highlighting: if an identifier is classified as a type or compile time value, it suppresses the debugger data tool tip and presents the usual one.On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:True, but could it?https://filebin.net/19gupoeedfdjx5tx well with static if, and the other is displaying typeid on hover.The second is a debug session. Visual Studio doesn't show variable name and value.
Mar 06 2021
On 06/03/2021 12:55, Imperatorn wrote:On Saturday, 6 March 2021 at 06:59:28 UTC, Rainer Schuetze wrote:I'm not much of a dub user. Last time I checked, using it as a package manager was fine, but not as a build tool. Dependency checks were incomplete and rather slow. The visuald project generation is pretty dated and doesn't support multiple configurations which kind of breaks the usual VS workflow. I think for better integration dub project generation needs to be improved (and extended to vcxproj files), or Visual D has to do it itself from "dub describe" (if that's possible). The latter would also allow seamless updates of the project in the background. Then, integration of package management can be considered.On 05/03/2021 12:26, Imperatorn wrote:Oh, I see. What about dub integration. How much effort would it be to have something similar to what code-d has in vsc? Guesstimation?On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote:Visual D already does that with the help of the semantic highlighting: if an identifier is classified as a type or compile time value, it suppresses the debugger data tool tip and presents the usual one.On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:True, but could it?https://filebin.net/19gupoeedfdjx5tx with static if, and the other is displaying typeid on hover.The second is a debug session. Visual Studio doesn't show type value.
Mar 09 2021
On Wednesday, 10 March 2021 at 07:29:44 UTC, Rainer Schuetze wrote:On 06/03/2021 12:55, Imperatorn wrote:As far as I remember (circa 2015) Mono-D [0] was the IDE with the best Dub support - you could just open dub.json files as if they were project files (sln/csproj). This was by far the most seamless experience back when I was using IDEs more heavily. Visual-D could also use Dub as a library, similar to [1][2]. Also it would be nice to integrate code.dlang.org, just like NuGet is integrated for .NET in VS. [0]: https://wiki.dlang.org/Mono-D [1]: https://github.com/Pure-D/workspace-d [2]: https://github.com/atilaneves/reggae/tree/master/src/reggae/dub/interopOn Saturday, 6 March 2021 at 06:59:28 UTC, Rainer Schuetze wrote:I'm not much of a dub user. Last time I checked, using it as a package manager was fine, but not as a build tool. Dependency checks were incomplete and rather slow. The visuald project generation is pretty dated and doesn't support multiple configurations which kind of breaks the usual VS workflow. I think for better integration dub project generation needs to be improved (and extended to vcxproj files), or Visual D has to do it itself from "dub describe" (if that's possible). The latter would also allow seamless updates of the project in the background. Then, integration of package management can be considered.On 05/03/2021 12:26, Imperatorn wrote:Oh, I see. What about dub integration. How much effort would it be to have something similar to what code-d has in vsc? Guesstimation?On Friday, 5 March 2021 at 10:57:05 UTC, Kagamin wrote:Visual D already does that with the help of the semantic highlighting: if an identifier is classified as a type or compile time value, it suppresses the debugger data tool tip and presents the usual one.On Thursday, 4 March 2021 at 13:42:47 UTC, Imperatorn wrote:True, but could it?https://filebin.net/19gupoeedfdjx5tx as well with static if, and the other is displaying typeid on hover.The second is a debug session. Visual Studio doesn't show variable name and value.
Mar 12 2021
On Friday, 12 March 2021 at 10:04:05 UTC, Petar Kirov [ZombineDev] wrote:On Wednesday, 10 March 2021 at 07:29:44 UTC, Rainer Schuetze wrote:Yeah, this would be awesome deluxe[...]As far as I remember (circa 2015) Mono-D [0] was the IDE with the best Dub support - you could just open dub.json files as if they were project files (sln/csproj). This was by far the most seamless experience back when I was using IDEs more heavily. Visual-D could also use Dub as a library, similar to [1][2]. Also it would be nice to integrate code.dlang.org, just like NuGet is integrated for .NET in VS. [0]: https://wiki.dlang.org/Mono-D [1]: https://github.com/Pure-D/workspace-d [2]: https://github.com/atilaneves/reggae/tree/master/src/reggae/dub/interop
Mar 12 2021
On 04/03/2021 14:29, Imperatorn 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 variableAdding to what Bastiaan said: "Lowlighting" disabled code in static if() similar to debug/version conditions is on my list of things to implement, but indeed, it might get confusing in templates because a random instantiation is currently used to show semantic information for its members. Hovering a variable should show its type in the tool tip (note that you can click the type in the tip to jump to its definition). But your example shows that there is a problem with the expression "typeid(T)", as no information is shown when hovering T inside the parenthesis. Probably an omission in the visitor.
Mar 05 2021
On Friday, 5 March 2021 at 08:50:59 UTC, Rainer Schuetze wrote:On 04/03/2021 14:29, Imperatorn wrote:Ok, thanks for working on Visual D. Imo it's the best IDE we have in D currently. One thing that would be awesome though is better nuget. Code-D has solved this by having a search bar, I don't know if that would be possible in VS tho, I'm just talking before thinking. It's risky and I like it 😎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 variableAdding to what Bastiaan said: "Lowlighting" disabled code in static if() similar to debug/version conditions is on my list of things to implement, but indeed, it might get confusing in templates because a random instantiation is currently used to show semantic information for its members. Hovering a variable should show its type in the tool tip (note that you can click the type in the tip to jump to its definition). But your example shows that there is a problem with the expression "typeid(T)", as no information is shown when hovering T inside the parenthesis. Probably an omission in the visitor.
Mar 05 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, RainerHi, 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"
Mar 04 2021
On 04/03/2021 14:43, James Lu wrote: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, RainerHi, 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 questionsUse the title: "Visual Studio Code for D Language 1.1.0"Thanks for the suggestion. I'm not a user of these social news sites, though, and even don't have time to keep track of discussions on the D forums lately. BTW: Visual D is not an extension for VS Code, but plain ol' Visual Studio.
Mar 05 2021
Thx Rainer, always much appreciated. On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:See https://rainers.github.io/visuald/visuald/images/parameterstorage.png for some examples.Very cool.
Mar 06 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. [...]Thanks for update. I love the adornments feature - one thing I work!
Mar 26 2021