FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compile from within Visual Studio

 
Post new topic   Reply to topic     Forum Index -> DCoder
View previous topic :: View next topic  
Author Message
Xerpher



Joined: 09 May 2004
Posts: 13

PostPosted: Sun May 16, 2004 3:37 am    Post subject: Compile from within Visual Studio Reply with quote

Is there currently a way to compile D code straight from the Visual Studio IDE?
Back to top
View user's profile Send private message
Xerpher



Joined: 09 May 2004
Posts: 13

PostPosted: Mon May 17, 2004 10:41 pm    Post subject: Reply with quote

Anybody there? *hears echo*
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Mon May 17, 2004 10:53 pm    Post subject: Reply with quote

This might be helpful:
http://www.wikiservice.at/d/wiki.cgi?EditorSupport#MicrosoftVisualC60

I don't use Visual Studio, so I can't test it out.
Back to top
View user's profile Send private message AIM Address
Xerpher



Joined: 09 May 2004
Posts: 13

PostPosted: Mon May 17, 2004 11:26 pm    Post subject: Reply with quote

The instructions didn't seem to match up at all... possibly because I have .NET (aka, v7) now and not v6
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Thu May 20, 2004 8:35 pm    Post subject: Debugging a D program in MS Visual C++ Reply with quote

On a related subject, Arcane Jill described a method to debug D apps with MS Visual C++ editor in the general D newsgroup: digitalmars.D:1608.
Back to top
View user's profile Send private message AIM Address
Arcane Jill



Joined: 01 Jun 2004
Posts: 10

PostPosted: Tue Jun 01, 2004 12:49 am    Post subject: Reply with quote

That was I. But I don't use VC++ for writing code, only for debugging it. It's good for single-stepping through, seeing variable values, etc.

For writing code, I use TextPad, a cool text editor you can find at www.textpad.com. It can do syntax highlighting for D (you need the d.syn file I made, but I can send you that, or you could make your own). It also has definable tools, so I can just click on a menu item I've called "D - build Debug" and it will make my entire project without my having to leave that environment.

A separate command prompt window semi-permanently open in the exe directory serves as a quick and easy means to run the compiled and built program. (You can also persuade TextPad to run it, but in this case it's better not to, in case the program under development crashes).

Finally, VC++ is there to step through the code.

This may not be the best way of working, but it works for me. I'm very comfortable with TextPad, and I love being able to choose which words get highlighted and which don't (I can have my own function names colored).

Arcane Jill
Back to top
View user's profile Send private message
Nova



Joined: 18 Sep 2004
Posts: 23

PostPosted: Sun Oct 03, 2004 12:05 am    Post subject: Reply with quote

Arcane Jill wrote:
For writing code, I use TextPad, a cool text editor you can find at www.textpad.com. It can do syntax highlighting for D (you need the d.syn file I made, but I can send you that, or you could make your own). It also has definable tools, so I can just click on a menu item I've called "D - build Debug" and it will make my entire project without my having to leave that environment.


Could anybody provide me with these for TextPad? Thanks.
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Sun Oct 03, 2004 9:42 pm    Post subject: Reply with quote

Nova wrote:
Could anybody provide me with these for TextPad? Thanks.
I'm not a TextPad user, but you could probably start with this:
http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport#TextPad
Back to top
View user's profile Send private message AIM Address
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Sun Oct 03, 2004 10:56 pm    Post subject: Reply with quote

And here's to hoping your (Arcane Jill's) Textpad file is more up-to-date than mine. I think I advertise DMD 0.65 as the last appropriate version. Yikes, I'm old. You can still find it at http://www.penguinblotter.com/d, but wow, that's an old site I haven't thought about in a while.

BA
_________________
I really like the vest!
Back to top
View user's profile Send private message
Nova



Joined: 18 Sep 2004
Posts: 23

PostPosted: Mon Oct 04, 2004 7:08 pm    Post subject: Reply with quote

Thanks, I've got it all setup now and love it =)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DCoder All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group