digitalmars.D.ide - Visual D 0.3.26 released
- Rainer Schuetze <r.sagitario gmx.de> Aug 25 2011
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> Aug 25 2011
- Rainer Schuetze <r.sagitario gmx.de> Aug 26 2011
- Johannes Totz <johannes jo-t.de> Aug 26 2011
- Rainer Schuetze <r.sagitario gmx.de> Aug 26 2011
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> Sep 10 2011
- Rainer Schuetze <r.sagitario gmx.de> Sep 10 2011
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> Sep 10 2011
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> Sep 10 2011
- Rainer Schuetze <r.sagitario gmx.de> Dec 21 2011
- "Froglegs" <lugtug gmail.com> Dec 20 2011
- "Mr. Anonymous" <mailnew4ster gmail.com> Dec 24 2011
- Rainer Schuetze <r.sagitario gmx.de> Dec 26 2011
- "Mr. Anonymous" <mailnew4ster gmail.com> Dec 29 2011
- Rainer Schuetze <r.sagitario gmx.de> Dec 29 2011
- "Marco Leise" <Marco.Leise gmx.de> Dec 26 2011
- "Brad" <fraksworld hotmail.com> Aug 28 2012
- "Diggory" <diggsey googlemail.com> Jun 07 2013
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
Aug 25 2011
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
Awesome news! One question:* fixed bad indentation of first contract
What exactly does this fix? Can you give an example? - Alex
Aug 25 2011
On 25.08.2011 15:34, 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 [...]
One question:* fixed bad indentation of first contract
What exactly does this fix? Can you give an example?
reindenting a function with contracts used to produce something like this: int foo(int x) in { assert(x > 0); } body { return -x; } Now, the in contract is aligned with the function declaration and the body: int foo(int x) in { assert(x > 0); } body { return -x; }
Aug 26 2011
On 26-08-2011 09:20, Rainer Schuetze wrote:On 25.08.2011 15:34, 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 [...]
One question:* fixed bad indentation of first contract
What exactly does this fix? Can you give an example?
reindenting a function with contracts used to produce something like this: int foo(int x) in { assert(x > 0); } body { return -x; } Now, the in contract is aligned with the function declaration and the body: int foo(int x) in { assert(x > 0); } body { return -x; }
Oh, great! It seems that it still happens while you type out the function, though. Can anything be done about that? - Alex
Aug 26 2011
On 26.08.2011 09:58, Alex Rønne Petersen wrote:On 26-08-2011 09:20, Rainer Schuetze wrote:On 25.08.2011 15:34, 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 [...]
One question:* fixed bad indentation of first contract
What exactly does this fix? Can you give an example?
reindenting a function with contracts used to produce something like this: int foo(int x) in { assert(x > 0); } body { return -x; } Now, the in contract is aligned with the function declaration and the body: int foo(int x) in { assert(x > 0); } body { return -x; }
Oh, great! It seems that it still happens while you type out the function, though. Can anything be done about that? - Alex
I didn't think of that. Currently, the line is reindented if you type '{' or '}' as the first non-space on the line. This needs to be extended to "in", "out" and "body" without getting annoying. I'll see what can be done.
Aug 26 2011
On 26-08-2011 17:05, Rainer Schuetze wrote:On 26.08.2011 09:58, Alex Rønne Petersen wrote:On 26-08-2011 09:20, Rainer Schuetze wrote:On 25.08.2011 15:34, 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 [...]
One question:* fixed bad indentation of first contract
What exactly does this fix? Can you give an example?
reindenting a function with contracts used to produce something like this: int foo(int x) in { assert(x > 0); } body { return -x; } Now, the in contract is aligned with the function declaration and the body: int foo(int x) in { assert(x > 0); } body { return -x; }
Oh, great! It seems that it still happens while you type out the function, though. Can anything be done about that? - Alex
I didn't think of that. Currently, the line is reindented if you type '{' or '}' as the first non-space on the line. This needs to be extended to "in", "out" and "body" without getting annoying. I'll see what can be done.
Great, thanks! - Alex
Aug 26 2011
On 25/08/2011 08: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/
I tried it on Visual Studio 2008 but after installation, VS simply hangs at startup. Splash screen is showing but nothing else happening. Task manager shows slowly increasing memory usage. After 15 mins I killed it. I tried it a few times but ultimately had to uninstall it and now everything is back to normal. Ideas on how to figure out what might be wrong?
Aug 26 2011
On 26.08.2011 15:07, Johannes Totz wrote:On 25/08/2011 08: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/
I tried it on Visual Studio 2008 but after installation, VS simply hangs at startup. Splash screen is showing but nothing else happening. Task manager shows slowly increasing memory usage. After 15 mins I killed it. I tried it a few times but ultimately had to uninstall it and now everything is back to normal. Ideas on how to figure out what might be wrong?
What OS are you working on? A process dump might help to figure out what's going on. You can use procdump from here: http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx to create one while VS is frozen. Please send it to me or make it available somewhere for download.
Aug 26 2011
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
Sep 10 2011
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.
Sep 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
Sep 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
Sep 10 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
Dec 21 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?
Dec 20 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.
Dec 24 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.
Dec 26 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.
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
Dec 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.
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).
Dec 29 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.
Dec 26 2011
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/
Aug 28 2012
Thanks for your great plugin! The integration with VS is great, especially the debugging. There are a few things I think could be improved though: - I couldn't get it to work properly on VS 2012, the functionality seems to be there but it doesn't hook up with the buttons properly. For example, "Start Debugging" fails, and so does "Build -> Build Solution" with "The method or operation is not implemented", whereas right-clicking in the solution explorer and choosing "Build" works just fine. It seems all toolbar actions and actions on the main menu bar don't work, whereas right-click actions do. It works fine in VS 2010. - I couldn't find a way to get it to play nicely with a hierarchical folder structure. I can add a folder in VS but it's actually a filter rather than a folder, and if I create a subfolder with a .d file in and then add it to the project it just shows up in the top level. Since D's modules work based on folder structure it would be nice if Visual D worked the same way. - It would be nice if ctrl-shift-space showed the parameters expected like in other languages in VS. Visual D seems to already have that information because when you hover over a function name it shows the signature.
Jun 07 2013









=?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> 