www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Visual D 0.3.36 released - support for Alex Bothe's semantic analysis,

reply Rainer Schuetze <r.sagitario gmx.de> writes:
Hi,

a new version of Visual D is long overdue, so finally it is released. In 
addition to the usual fixes of bugs and regressions, the major 
highlights of this version are

- DParser by Alexander Bothe (https://github.com/aBothe/D_Parser, also 
used by Mono-D) integrated as an alternative semantic engine for better 
code completion (use "Open Language options" from the Visual D menu to 
access the enable option)
- added command "Compile and Run" to execute current text buffer or 
selection via rdmd
- added option "Colorize coverage from .LST file" to highlight lines 
from code coverage output
- updated to new features of the language and tooling as of dmd 2.062
- basic LDC support and separate option pages for DMD/GDC/LDC directories

The full list of changes can be found here: 
http://www.dsource.org/projects/visuald/wiki/VersionHistory

Visual D is a Visual Studio package providing both project management 
and language services for the D programming language. It works with 
Visual Studio 2005-12 as well as the free Visual Studio Shells.

The Visual D installer can be downloaded from its website at 
http://www.dsource.org/projects/visuald

Visual D is completely written in D, the source code is available at 
github (https://github.com/rainers/visuald) and dsource 
(http://www.dsource.org/projects/visuald/browser/trunk).

Rainer
May 11 2013
next sibling parent reply "Simen Kjaeraas" <simen.kjaras gmail.com> writes:
On 2013-05-11, 12:39, Rainer Schuetze wrote:

 Hi,

 a new version of Visual D is long overdue, so finally it is released. In  
 addition to the usual fixes of bugs and regressions, the major  
 highlights of this version are

 - DParser by Alexander Bothe (https://github.com/aBothe/D_Parser, also  
 used by Mono-D) integrated as an alternative semantic engine for better  
 code completion (use "Open Language options" from the Visual D menu to  
 access the enable option)
 - added command "Compile and Run" to execute current text buffer or  
 selection via rdmd
 - added option "Colorize coverage from .LST file" to highlight lines  
 from code coverage output
 - updated to new features of the language and tooling as of dmd 2.062
 - basic LDC support and separate option pages for DMD/GDC/LDC directories

 The full list of changes can be found here:  
 http://www.dsource.org/projects/visuald/wiki/VersionHistory

 Visual D is a Visual Studio package providing both project management  
 and language services for the D programming language. It works with  
 Visual Studio 2005-12 as well as the free Visual Studio Shells.

 The Visual D installer can be downloaded from its website at  
 http://www.dsource.org/projects/visuald

 Visual D is completely written in D, the source code is available at  
 github (https://github.com/rainers/visuald) and dsource  
 (http://www.dsource.org/projects/visuald/browser/trunk).

 Rainer
The download link doesn't seem to work. The error message and a click on 'downloads' shows the file is not where it should be. -- Simen
May 11 2013
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 11.05.2013 13:21, Simen Kjaeraas wrote:
 On 2013-05-11, 12:39, Rainer Schuetze wrote:
 The Visual D installer can be downloaded from its website at
 http://www.dsource.org/projects/visuald

 Visual D is completely written in D, the source code is available at
 github (https://github.com/rainers/visuald) and dsource
 (http://www.dsource.org/projects/visuald/browser/trunk).

 Rainer
The download link doesn't seem to work. The error message and a click on 'downloads' shows the file is not where it should be.
Ouch, missed to upload it after renaming the previous (broken) version to rc. It is fixed now.
May 11 2013
prev sibling next sibling parent "Kai Nacke" <kai redstar.de> writes:
On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 - basic LDC support and separate option pages for DMD/GDC/LDC 
 directories
I am going to love this. :-) Kai
May 11 2013
prev sibling next sibling parent "Flamaros" <flamaros.xavier gmail.com> writes:
On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 Hi,

 a new version of Visual D is long overdue, so finally it is 
 released. In addition to the usual fixes of bugs and 
 regressions, the major highlights of this version are

 - DParser by Alexander Bothe 
 (https://github.com/aBothe/D_Parser, also used by Mono-D) 
 integrated as an alternative semantic engine for better code 
 completion (use "Open Language options" from the Visual D menu 
 to access the enable option)
 - added command "Compile and Run" to execute current text 
 buffer or selection via rdmd
 - added option "Colorize coverage from .LST file" to highlight 
 lines from code coverage output
 - updated to new features of the language and tooling as of dmd 
 2.062
 - basic LDC support and separate option pages for DMD/GDC/LDC 
 directories

 The full list of changes can be found here: 
 http://www.dsource.org/projects/visuald/wiki/VersionHistory

 Visual D is a Visual Studio package providing both project 
 management and language services for the D programming 
 language. It works with Visual Studio 2005-12 as well as the 
 free Visual Studio Shells.

 The Visual D installer can be downloaded from its website at 
 http://www.dsource.org/projects/visuald

 Visual D is completely written in D, the source code is 
 available at github (https://github.com/rainers/visuald) and 
 dsource (http://www.dsource.org/projects/visuald/browser/trunk).

 Rainer
A very nice update. Great job.
May 11 2013
prev sibling next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 5/11/2013 3:39 AM, Rainer Schuetze wrote:
 a new version of Visual D is long overdue, so finally it is released. In
 addition to the usual fixes of bugs and regressions, the major highlights of
 this version are
This deserves a much higher profile. Few people know about it. Can you write a brief article about Visual D? Then we can link to it, and post it on Reddit.
May 12 2013
next sibling parent "nazriel" <spam dzfl.pl> writes:
On Sunday, 12 May 2013 at 18:48:19 UTC, Walter Bright wrote:
 On 5/11/2013 3:39 AM, Rainer Schuetze wrote:
 a new version of Visual D is long overdue, so finally it is 
 released. In
 addition to the usual fixes of bugs and regressions, the major 
 highlights of
 this version are
This deserves a much higher profile. Few people know about it. Can you write a brief article about Visual D? Then we can link to it, and post it on Reddit.
I agree with Walter. I am not using Visual-D myself (Not Windows user) but questions about IDEs are popping up very frequently both on Reddit, Newsgroup and IRC channel. Good article could make things more clean in this area.
May 13 2013
prev sibling parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 12.05.2013 20:48, Walter Bright wrote:
 On 5/11/2013 3:39 AM, Rainer Schuetze wrote:
 a new version of Visual D is long overdue, so finally it is released. In
 addition to the usual fixes of bugs and regressions, the major
 highlights of
 this version are
This deserves a much higher profile. Few people know about it. Can you write a brief article about Visual D? Then we can link to it, and post it on Reddit.
I'm lagging behind on documentation anyway, so if I find the time, I'll try to do it as an article.
May 17 2013
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 17.05.2013 19:43, Rainer Schuetze wrote:
 On 12.05.2013 20:48, Walter Bright wrote:
 On 5/11/2013 3:39 AM, Rainer Schuetze wrote:
 a new version of Visual D is long overdue, so finally it is released. In
 addition to the usual fixes of bugs and regressions, the major
 highlights of
 this version are
This deserves a much higher profile. Few people know about it. Can you write a brief article about Visual D? Then we can link to it, and post it on Reddit.
I'm lagging behind on documentation anyway, so if I find the time, I'll try to do it as an article.
Probably a bit late, but here is a short article about the new version with some bias towards "Unittesting and code coverage analysis with Visual D": http://www.dsource.org/projects/visuald/wiki/News36
May 30 2013
parent reply "Flamaros" <flamaros.xavier gmail.com> writes:
On Thursday, 30 May 2013 at 12:55:29 UTC, Rainer Schuetze wrote:
 On 17.05.2013 19:43, Rainer Schuetze wrote:
 On 12.05.2013 20:48, Walter Bright wrote:
 On 5/11/2013 3:39 AM, Rainer Schuetze wrote:
 a new version of Visual D is long overdue, so finally it is 
 released. In
 addition to the usual fixes of bugs and regressions, the 
 major
 highlights of
 this version are
This deserves a much higher profile. Few people know about it. Can you write a brief article about Visual D? Then we can link to it, and post it on Reddit.
I'm lagging behind on documentation anyway, so if I find the time, I'll try to do it as an article.
Probably a bit late, but here is a short article about the new version with some bias towards "Unittesting and code coverage analysis with Visual D": http://www.dsource.org/projects/visuald/wiki/News36
I missed that, it's a good remainder, thank you. It certainly help a lot the community.
May 30 2013
parent reply "Flamaros" <flamaros.xavier gmail.com> writes:
On Thursday, 30 May 2013 at 22:39:28 UTC, Flamaros wrote:
 On Thursday, 30 May 2013 at 12:55:29 UTC, Rainer Schuetze wrote:
 On 17.05.2013 19:43, Rainer Schuetze wrote:
 On 12.05.2013 20:48, Walter Bright wrote:
 On 5/11/2013 3:39 AM, Rainer Schuetze wrote:
 a new version of Visual D is long overdue, so finally it is 
 released. In
 addition to the usual fixes of bugs and regressions, the 
 major
 highlights of
 this version are
This deserves a much higher profile. Few people know about it. Can you write a brief article about Visual D? Then we can link to it, and post it on Reddit.
I'm lagging behind on documentation anyway, so if I find the time, I'll try to do it as an article.
Probably a bit late, but here is a short article about the new version with some bias towards "Unittesting and code coverage analysis with Visual D": http://www.dsource.org/projects/visuald/wiki/News36
I missed that, it's a good remainder, thank you. It certainly help a lot the community.
I followed indications, lst files are correctly generated for the code coverage, but I don't have the coloration in the editor. Can be because my application crash when exiting?
Jun 01 2013
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 01.06.2013 12:45, Flamaros wrote:
 On Thursday, 30 May 2013 at 22:39:28 UTC, Flamaros wrote:
 I followed indications, lst files are correctly generated for the code
 coverage, but I don't have the coloration in the editor. Can be because
 my application crash when exiting?
If your application crashed, the lst file might be from a previous run and is considered out of sync. Please check whether it is newer than the source file. Also, it has to be in the same folder with the same base name as the source. I've recently noticed that the lst files generation seem to replace '/' with '-' in path names making it pretty unpredictable were to look for files when all you know the source file name. I'll have to add a workaround for that.
Jun 01 2013
parent reply "Flamaros" <flamaros.xavier gmail.com> writes:
On Saturday, 1 June 2013 at 10:55:36 UTC, Rainer Schuetze wrote:
 On 01.06.2013 12:45, Flamaros wrote:
 On Thursday, 30 May 2013 at 22:39:28 UTC, Flamaros wrote:
 I followed indications, lst files are correctly generated for 
 the code
 coverage, but I don't have the coloration in the editor. Can 
 be because
 my application crash when exiting?
If your application crashed, the lst file might be from a previous run and is considered out of sync. Please check whether it is newer than the source file. Also, it has to be in the same folder with the same base name as the source. I've recently noticed that the lst files generation seem to replace '/' with '-' in path names making it pretty unpredictable were to look for files when all you know the source file name. I'll have to add a workaround for that.
When I check last modification of lst files it seems good. Effectively files name contains '-' characters (ex : "..-src-dquick-item-mouseAreaItem.lst") Source file naming prevent '-' characters, so if everybody follow this rule replacing '-' by '/' will allow you to get right paths.
Jun 01 2013
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 01.06.2013 16:59, Flamaros wrote:
 On Saturday, 1 June 2013 at 10:55:36 UTC, Rainer Schuetze wrote:
 On 01.06.2013 12:45, Flamaros wrote:
 On Thursday, 30 May 2013 at 22:39:28 UTC, Flamaros wrote:
 I followed indications, lst files are correctly generated for the code
 coverage, but I don't have the coloration in the editor. Can be because
 my application crash when exiting?
If your application crashed, the lst file might be from a previous run and is considered out of sync. Please check whether it is newer than the source file. Also, it has to be in the same folder with the same base name as the source. I've recently noticed that the lst files generation seem to replace '/' with '-' in path names making it pretty unpredictable were to look for files when all you know the source file name. I'll have to add a workaround for that.
When I check last modification of lst files it seems good. Effectively files name contains '-' characters (ex : "..-src-dquick-item-mouseAreaItem.lst") Source file naming prevent '-' characters, so if everybody follow this rule replacing '-' by '/' will allow you to get right paths.
I guess Visual D will have to remember the last directory where it invoked the "Compile and Run" command and try to match lst files in that directory to the current source file. Does anybody know why the lst file is not written side-by-side with the source file?
Jun 01 2013
parent Manu <turkeyman gmail.com> writes:
I'd say this is a good thing. Please don't pollute the source tree with
junk placed next to the source files. This is very un-visual-studio. They
should be in the intermediate folder next to the obj files.
On 2 Jun 2013 01:15, "Rainer Schuetze" <r.sagitario gmx.de> wrote:

 On 01.06.2013 16:59, Flamaros wrote:

 On Saturday, 1 June 2013 at 10:55:36 UTC, Rainer Schuetze wrote:

 On 01.06.2013 12:45, Flamaros wrote:

 On Thursday, 30 May 2013 at 22:39:28 UTC, Flamaros wrote:
I followed indications, lst files are correctly generated for the code
 coverage, but I don't have the coloration in the editor. Can be because
 my application crash when exiting?
If your application crashed, the lst file might be from a previous run and is considered out of sync. Please check whether it is newer than the source file. Also, it has to be in the same folder with the same base name as the source. I've recently noticed that the lst files generation seem to replace '/' with '-' in path names making it pretty unpredictable were to look for files when all you know the source file name. I'll have to add a workaround for that.
When I check last modification of lst files it seems good. Effectively files name contains '-' characters (ex : "..-src-dquick-item-**mouseAreaItem.lst") Source file naming prevent '-' characters, so if everybody follow this rule replacing '-' by '/' will allow you to get right paths.
I guess Visual D will have to remember the last directory where it invoked the "Compile and Run" command and try to match lst files in that directory to the current source file. Does anybody know why the lst file is not written side-by-side with the source file?
Jun 01 2013
prev sibling next sibling parent reply "TommiT" <tommitissari hotmail.com> writes:
On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 [..]

 The full list of changes can be found here: 
 http://www.dsource.org/projects/visuald/wiki/VersionHistory

 [..]
Notice that "alias this = id" is not supposed to be valid syntax.
May 13 2013
parent reply Bruno Medeiros <brunodomedeiros+dng gmail.com> writes:
On 14/05/2013 06:45, TommiT wrote:
 On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 [..]

 The full list of changes can be found here:
 http://www.dsource.org/projects/visuald/wiki/VersionHistory

 [..]
Notice that "alias this = id" is not supposed to be valid syntax.
Huh, what's this about? DMD does not seem to recognize it, but it's listed in the grammar. Is it an upcoming feature or is the grammar out of date? -- Bruno Medeiros - Software Engineer
May 16 2013
parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
On 05/16/2013 03:08 AM, Bruno Medeiros wrote:

 On 14/05/2013 06:45, TommiT wrote:
 Notice that "alias this = id" is not supposed to be valid syntax.
Huh, what's this about? DMD does not seem to recognize it, but it's listed in the grammar. Is it an upcoming feature or is the grammar out of date?
When the other use of alias has been changed from alias int NewName; // weird syntax to alias NewName = int; // welcome syntax 'alias this' has also been inadvertently changed from alias memberFunc this; // still valid syntax to alias this = memberFunc; // buggy syntax It has been a recent bug which has quickly been reverted. Here is a past discussion: http://forum.dlang.org/thread/aaflopktcjmljxdnoizj forum.dlang.org Ali
May 16 2013
parent Bruno Medeiros <brunodomedeiros+dng gmail.com> writes:
On 16/05/2013 17:58, Ali Çehreli wrote:
 On 05/16/2013 03:08 AM, Bruno Medeiros wrote:

  > On 14/05/2013 06:45, TommiT wrote:

  >> Notice that "alias this = id" is not supposed to be valid syntax.
  >
  > Huh, what's this about? DMD does not seem to recognize it, but it's
  > listed in the grammar. Is it an upcoming feature or is the grammar out
  > of date?

 When the other use of alias has been changed from

    alias int NewName;  // weird syntax

 to

    alias NewName = int;  // welcome syntax

 'alias this' has also been inadvertently changed from

    alias memberFunc this;    // still valid syntax

 to

    alias this = memberFunc;  // buggy syntax

 It has been a recent bug which has quickly been reverted. Here is a past
 discussion:

    http://forum.dlang.org/thread/aaflopktcjmljxdnoizj forum.dlang.org

 Ali
Ah I see. I was about to ask why was it put in the grammar documentation then, but it seems it is no longer there for the online version of the documentation: http://dlang.org/declaration.html#AliasThisDeclaration It is still present in the documentaton of the 2.062 DMD download though, hence my confusion. :S (I was looking at the download doc) -- Bruno Medeiros - Software Engineer
May 20 2013
prev sibling next sibling parent "Paulo Pinto" <pjmlp progtools.org> writes:
On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 Hi,

 a new version of Visual D is long overdue, so finally it is 
 released. In addition to the usual fixes of bugs and 
 regressions, the major highlights of this version are

 - DParser by Alexander Bothe 
 (https://github.com/aBothe/D_Parser, also used by Mono-D) 
 integrated as an alternative semantic engine for better code 
 completion (use "Open Language options" from the Visual D menu 
 to access the enable option)
 - added command "Compile and Run" to execute current text 
 buffer or selection via rdmd
 - added option "Colorize coverage from .LST file" to highlight 
 lines from code coverage output
 - updated to new features of the language and tooling as of dmd 
 2.062
 - basic LDC support and separate option pages for DMD/GDC/LDC 
 directories

 The full list of changes can be found here: 
 http://www.dsource.org/projects/visuald/wiki/VersionHistory

 Visual D is a Visual Studio package providing both project 
 management and language services for the D programming 
 language. It works with Visual Studio 2005-12 as well as the 
 free Visual Studio Shells.

 The Visual D installer can be downloaded from its website at 
 http://www.dsource.org/projects/visuald

 Visual D is completely written in D, the source code is 
 available at github (https://github.com/rainers/visuald) and 
 dsource (http://www.dsource.org/projects/visuald/browser/trunk).

 Rainer
Great work, updating it right now! :)
May 13 2013
prev sibling next sibling parent reply "alex" <info alexanderbothe.com> writes:
On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 Hi,

 a new version of Visual D is long overdue, so finally it is 
 released. In addition to the usual fixes of bugs and 
 regressions, the major highlights of this version are

 - DParser by Alexander Bothe 
 (https://github.com/aBothe/D_Parser, also used by Mono-D) 
 integrated as an alternative semantic engine for better code 
 completion (use "Open Language options" from the Visual D menu 
 to access the enable option)
Finally :) -- Hopefully I can find some more time to do more pre-compile time analysis implementation of D code ;) Oh btw, have you implemented the D_Parser.Misc.CompletionOptions? You can toggle mixin pre-evaluation and other tweaks over there
May 15 2013
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 15.05.2013 23:19, alex wrote:
 On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 Hi,

 a new version of Visual D is long overdue, so finally it is released.
 In addition to the usual fixes of bugs and regressions, the major
 highlights of this version are

 - DParser by Alexander Bothe (https://github.com/aBothe/D_Parser, also
 used by Mono-D) integrated as an alternative semantic engine for
 better code completion (use "Open Language options" from the Visual D
 menu to access the enable option)
Finally :) -- Hopefully I can find some more time to do more pre-compile time analysis implementation of D code ;) Oh btw, have you implemented the D_Parser.Misc.CompletionOptions? You can toggle mixin pre-evaluation and other tweaks over there
I just left them at their default, i.e. UFCS is enabled, but mixin-support is disabled. Any problem with enabling the latter? The other options seem unused sofar when grepping for them, maybe they are used by Mono-D, but not DParser (the version used by the installer doesn't have the HideDeprecatedNodes option).
May 17 2013
parent "alex" <info alexanderbothe.com> writes:
On Friday, 17 May 2013 at 17:39:42 UTC, Rainer Schuetze wrote:
 On 15.05.2013 23:19, alex wrote:
 On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze 
 wrote:
 Hi,

 a new version of Visual D is long overdue, so finally it is 
 released.
 In addition to the usual fixes of bugs and regressions, the 
 major
 highlights of this version are

 - DParser by Alexander Bothe 
 (https://github.com/aBothe/D_Parser, also
 used by Mono-D) integrated as an alternative semantic engine 
 for
 better code completion (use "Open Language options" from the 
 Visual D
 menu to access the enable option)
Finally :) -- Hopefully I can find some more time to do more pre-compile time analysis implementation of D code ;) Oh btw, have you implemented the D_Parser.Misc.CompletionOptions? You can toggle mixin pre-evaluation and other tweaks over there
I just left them at their default, i.e. UFCS is enabled, but mixin-support is disabled. Any problem with enabling the latter? The other options seem unused sofar when grepping for them, maybe they are used by Mono-D, but not DParser (the version used by the installer doesn't have the HideDeprecatedNodes option).
mixin support might be good (but well, it's still and probably will ever be basic) -- there are problems with having too many mixins in one module, that's why I left it opt-in only. Anyway the option might be nice to have somewhere :)
May 18 2013
prev sibling parent reply "Mr. Anonymous" <mailnew4ster gmail.com> writes:
On Saturday, 11 May 2013 at 10:39:39 UTC, Rainer Schuetze wrote:
 Hi,

 a new version of Visual D is long overdue, so finally it is 
 released. In addition to the usual fixes of bugs and 
 regressions, the major highlights of this version are

 - DParser by Alexander Bothe 
 (https://github.com/aBothe/D_Parser, also used by Mono-D) 
 integrated as an alternative semantic engine for better code 
 completion (use "Open Language options" from the Visual D menu 
 to access the enable option)
 - added command "Compile and Run" to execute current text 
 buffer or selection via rdmd
 - added option "Colorize coverage from .LST file" to highlight 
 lines from code coverage output
 - updated to new features of the language and tooling as of dmd 
 2.062
 - basic LDC support and separate option pages for DMD/GDC/LDC 
 directories

 The full list of changes can be found here: 
 http://www.dsource.org/projects/visuald/wiki/VersionHistory

 Visual D is a Visual Studio package providing both project 
 management and language services for the D programming 
 language. It works with Visual Studio 2005-12 as well as the 
 free Visual Studio Shells.

 The Visual D installer can be downloaded from its website at 
 http://www.dsource.org/projects/visuald

 Visual D is completely written in D, the source code is 
 available at github (https://github.com/rainers/visuald) and 
 dsource (http://www.dsource.org/projects/visuald/browser/trunk).

 Rainer
Is the wiki readonly? http://wiki.dlang.org/IDEs I've tried to update the "Last known activity" date, but I couldn't find the Edit button.
May 18 2013
parent "David Nadlinger" <see klickverbot.at> writes:
On Saturday, 18 May 2013 at 19:18:54 UTC, Mr. Anonymous wrote:
 Is the wiki readonly?
 http://wiki.dlang.org/IDEs

 I've tried to update the "Last known activity" date, but I 
 couldn't find the Edit button.
You need to be logged in. The Edit tab will then appear in place of the View Source one. David
May 18 2013