September 10, 2011
On 10-09-2011 18:53, Rainer Schuetze wrote:
>
>
> On 10.09.2011 14:05, Alex Rønne Petersen wrote:
>> On 25-08-2011 09:28, Rainer Schuetze wrote:
>>> Hi,
>>>
>>> I'd like to announce the release of a new version of Visual D:
>>>
>>> 2011-08-25 Version 0.3.26
>>>
>>> * fixed regression in last version: single file compilation did not
>>> build any d files
>>> * single file compilation: avoid relinking every time
>>> * separate compile and link: no longer trashes dependencies in link step
>>> * goto definition, search symbol: now line number adjusted according to
>>> changes since last successful build
>>> * fix: resource files in sub folders would not build because the same
>>> folders were expected in the intermediate directory
>>> * global settings: split page into directories/settings pages to make
>>> option "Show build time" accessible
>>> * global settings: added option to disable sorting projects
>>> * parser now accepts "do {} while(condition)" without trailing ';'
>>> * project options macro $(PROJECTNAME) now uses the name in the solution
>>> instead of the project file name
>>> * fixed bad indentation of first contract
>>> * fixed colorization of first token after debug condition without
>>> arguments
>>> * "is" now always colored as operator, not as keyword
>>> * updated to build with dmd 2.055beta
>>>
>>> Visual D provides seamless integration of the D programming language
>>> into Visual Studio. It can be downloaded here:
>>> http://www.dsource.org/projects/visuald/
>>>
>>> Best,
>>> Rainer
>>
>> Hi,
>>
>> Does anyone know whether this version of Visual D plays nice with 2.055?
>>
>> - Alex
>
> Should be no problem. There is also a brand new 0.3.27rc1 in the
> download folder, that is actualy built with dmd 2.055very-late-beta. It
> also fixes the indentation issues.

Oh, cool. Thanks!

- Alex
September 10, 2011
On 10-09-2011 20:36, Alex Rønne Petersen wrote:
> On 10-09-2011 18:53, Rainer Schuetze wrote:
>>
>>
>> On 10.09.2011 14:05, Alex Rønne Petersen wrote:
>>> On 25-08-2011 09:28, Rainer Schuetze wrote:
>>>> Hi,
>>>>
>>>> I'd like to announce the release of a new version of Visual D:
>>>>
>>>> 2011-08-25 Version 0.3.26
>>>>
>>>> * fixed regression in last version: single file compilation did not
>>>> build any d files
>>>> * single file compilation: avoid relinking every time
>>>> * separate compile and link: no longer trashes dependencies in link
>>>> step
>>>> * goto definition, search symbol: now line number adjusted according to
>>>> changes since last successful build
>>>> * fix: resource files in sub folders would not build because the same
>>>> folders were expected in the intermediate directory
>>>> * global settings: split page into directories/settings pages to make
>>>> option "Show build time" accessible
>>>> * global settings: added option to disable sorting projects
>>>> * parser now accepts "do {} while(condition)" without trailing ';'
>>>> * project options macro $(PROJECTNAME) now uses the name in the
>>>> solution
>>>> instead of the project file name
>>>> * fixed bad indentation of first contract
>>>> * fixed colorization of first token after debug condition without
>>>> arguments
>>>> * "is" now always colored as operator, not as keyword
>>>> * updated to build with dmd 2.055beta
>>>>
>>>> Visual D provides seamless integration of the D programming language
>>>> into Visual Studio. It can be downloaded here:
>>>> http://www.dsource.org/projects/visuald/
>>>>
>>>> Best,
>>>> Rainer
>>>
>>> Hi,
>>>
>>> Does anyone know whether this version of Visual D plays nice with 2.055?
>>>
>>> - Alex
>>
>> Should be no problem. There is also a brand new 0.3.27rc1 in the
>> download folder, that is actualy built with dmd 2.055very-late-beta. It
>> also fixes the indentation issues.
>
> Oh, cool. Thanks!
>
> - Alex

Just to confirm: All indentation and white space issues I had pointed out seem gone. Thanks a lot!

- Alex
December 20, 2011
Is there any way to make it so that suggestions are automatic, like in Visual Assist?

What I mean is that in Visual D if I want suggestions I have to hit cntrl-space while typing, but in VA they just appear under me as I type, and if I want to accept one I just hit enter.

Also is Visual D open source, can others help out?
December 21, 2011

On 20.12.2011 23:27, Froglegs wrote:
> Is there any way to make it so that suggestions are automatic, like in
> Visual Assist?
>
> What I mean is that in Visual D if I want suggestions I have to hit
> cntrl-space while typing, but in VA they just appear under me as I type,
> and if I want to accept one I just hit enter.

I was also wondering whether I like that VA feature or whether I hate it. It can sometimes get annoying because you have to hit the escape key to get your cursor functions back.

> Also is Visual D open source, can others help out?

Sure, you can find build instructions here: http://www.dsource.org/projects/visuald/wiki/Build_from_source
December 24, 2011
Thanks for your work!

A small thing:
When debugging/running a console app using C++, the console window does not automatically close, but shows a text like "press any key to exit.."
When using D, it's quite annoying when I want to test a snippet and the console exits, I have to write readf(); or similar to keep it open.
December 26, 2011
Hi,

On 24.12.2011 20:19, Mr. Anonymous wrote:
> Thanks for your work!
>
> A small thing:
> When debugging/running a console app using C++, the console window does
> not automatically close, but shows a text like "press any key to exit.."

I have never seen something like that in Visual Studio for C++ projects. Is it happening for Managed-C++? Is there an option to activate/deactivate that behaviour?

I just tried it with C# and Managed C++ console projects in VS11, and they close the console window immediately.

> When using D, it's quite annoying when I want to test a snippet and the
> console exits, I have to write readf(); or similar to keep it open.

December 27, 2011
Am 26.12.2011, 10:05 Uhr, schrieb Rainer Schuetze <r.sagitario@gmx.de>:

> Hi,
>
> On 24.12.2011 20:19, Mr. Anonymous wrote:
>> Thanks for your work!
>>
>> A small thing:
>> When debugging/running a console app using C++, the console window does
>> not automatically close, but shows a text like "press any key to exit.."
>
> I have never seen something like that in Visual Studio for C++ projects. Is it happening for Managed-C++? Is there an option to activate/deactivate that behaviour?
>
> I just tried it with C# and Managed C++ console projects in VS11, and they close the console window immediately.
>
>> When using D, it's quite annoying when I want to test a snippet and the
>> console exits, I have to write readf(); or similar to keep it open.
>

A little unrelated: In Eclipse the console is a permanent dockable window, that gets cleared when you restart the program. It also highlights stderr in red. It is not always better than opening a separate window and usually has a small visible area, but it solves this problem very well. The nice thing is that is always switches as you start the compiler or a program that needs a console and then stays open when the process exits.
December 29, 2011
On 26.12.2011 11:05, Rainer Schuetze wrote:
> Hi,
>
> On 24.12.2011 20:19, Mr. Anonymous wrote:
>> Thanks for your work!
>>
>> A small thing:
>> When debugging/running a console app using C++, the console window does
>> not automatically close, but shows a text like "press any key to exit.."
>
> I have never seen something like that in Visual Studio for C++ projects.
> Is it happening for Managed-C++? Is there an option to
> activate/deactivate that behaviour?
>
> I just tried it with C# and Managed C++ console projects in VS11, and
> they close the console window immediately.
>
>> When using D, it's quite annoying when I want to test a snippet and the
>> console exits, I have to write readf(); or similar to keep it open.
>
My experience is with VS10 and non-managed C++.

Steps to reproduce:
* Create a new "Visual C++: Win32 Console Application" project.
* Create the project with default settings.
* You'll get an empty _tmain() function, add printf("test\n"); above return 0;
* Press Ctrl+F5 to run it.
* Screenshot:
http://i.imgur.com/VuhHJ.png
December 29, 2011

On 29.12.2011 13:27, Mr. Anonymous wrote:
> On 26.12.2011 11:05, Rainer Schuetze wrote:
>> Hi,
>>
>> On 24.12.2011 20:19, Mr. Anonymous wrote:
>>> Thanks for your work!
>>>
>>> A small thing:
>>> When debugging/running a console app using C++, the console window does
>>> not automatically close, but shows a text like "press any key to exit.."
>>
>> I have never seen something like that in Visual Studio for C++ projects.
>> Is it happening for Managed-C++? Is there an option to
>> activate/deactivate that behaviour?
>>
>> I just tried it with C# and Managed C++ console projects in VS11, and
>> they close the console window immediately.
>>
>>> When using D, it's quite annoying when I want to test a snippet and the
>>> console exits, I have to write readf(); or similar to keep it open.
>>
> My experience is with VS10 and non-managed C++.
>
> Steps to reproduce:
> * Create a new "Visual C++: Win32 Console Application" project.
> * Create the project with default settings.
> * You'll get an empty _tmain() function, add printf("test\n"); above
> return 0;
> * Press Ctrl+F5 to run it.
> * Screenshot:
> http://i.imgur.com/VuhHJ.png

Ok, it does not happen when running the program in the debugger, but when starting it without the debugger. I can mimic that (probably optional as it might not make much sense for a non-console application).

I've also added an option to redirect stdout to the debug output window (only supported by the Visual Studio debugger, not mago).
August 28, 2012
There is a company called Sapphire Steel that makes Visual Studio add-ons for Ruby and ActionScript. I asked the owner by email if he would be interested in extending his product line for D but he says that he does not think there would be a big enough user base to justify the work. So I think it would be worth just taking a look at the features he offers for Ruby and AS and see if at the very least we can get ideas from it:
http://www.sapphiresteel.com/