www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Any IDEs or editors that are compatible with D 2.0?

reply Matt Nawrocki <matthew.nawrocki gmail.com> writes:
Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!


Matt
May 26 2009
next sibling parent reply Kagamin <spam here.lot> writes:
Matt Nawrocki Wrote:

 Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!
 
Notepad can understand any characters.
May 27 2009
next sibling parent Michal Minich <michal minich.sk> writes:
Hello Kagamin,

 Matt Nawrocki Wrote:
 
 Hi... are there any IDEs or editors out there that support DMD 2.0
 yet? I am having a hard time finding a good one. Thanks!
 
Notepad can understand any characters.
PSPad would be better choice than notepad :) http://www.pspad.com/ At least it has syntax highlighting (although you will need to fine tune it) project management, and can invoke compiler and go to line with error To my knowledge there is unfortunately no editor supporting D 2 syntax parsing (and code completion) You may look at page http://prowiki.org/wiki4d/wiki.cgi?EditorSupport if you did not already
May 27 2009
prev sibling parent Ary Borenszweig <ary esperanto.org.ar> writes:
Kagamin wrote:
 Matt Nawrocki Wrote:
 
 Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!
Notepad can understand any characters.
Yeah, that's an excelent answer for someone looking for help. He'll be using D in no time. :-P
May 27 2009
prev sibling next sibling parent reply "Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> writes:
Matt Nawrocki wrote:
 Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!
 
 
 Matt
When you say "editor that supports D", do you primarily mean syntax highlighting? In that case, there should be plenty, as there really isn't much difference between D1 and D2. Also, you didn't say whether you use Windows or Linux. On Linux, I know that both vim, gedit and Kate have syntax highlighting for D. Also, Bill Baxter made an emacs mode for D some years ago, http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.announce&artnum=7754 Personally, I use vim, and for D2 I only had to add the keywords "ref" and "string" to the syntax file. :) I can't say anything about IDEs or Windows, as use neither. -Lars
May 27 2009
next sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
Lars T. Kyllingstad:
for D2 I only had to add the keywords "ref" and "string" to the syntax file. :)
You may have to add "immutable", "nothrow", "pure" (and maybe "const"), and be sure "invariant" and "inout" are absent. Bye, bearophile
May 27 2009
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
bearophile wrote:
 Lars T. Kyllingstad:
 for D2 I only had to add the keywords "ref" and "string" to the syntax file. :)
You may have to add "immutable", "nothrow", "pure" (and maybe "const"), and be sure "invariant" and "inout" are absent.
"invariant" is still used as class invariants.
 
 Bye,
 bearophile
May 27 2009
parent bearophile <bearophileHUGS lycos.com> writes:
Ary Borenszweig Wrote:
 "invariant" is still used as class invariants.
Right. "__gshared" also has to be added. Currently my editor doesn't highlight numbers like 1_2 yet. Bye, bearophile
May 27 2009
prev sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Wed, 27 May 2009 10:21:30 -0400, Lars T. Kyllingstad  
<public kyllingen.nospamnet> wrote:

 Matt Nawrocki wrote:
 Hi... are there any IDEs or editors out there that support DMD 2.0 yet?  
 I am having a hard time finding a good one. Thanks!
   Matt
When you say "editor that supports D", do you primarily mean syntax highlighting? In that case, there should be plenty, as there really isn't much difference between D1 and D2. Also, you didn't say whether you use Windows or Linux. On Linux, I know that both vim, gedit and Kate have syntax highlighting for D. Also, Bill Baxter made an emacs mode for D some years ago, http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.announce&artnum=7754 Personally, I use vim, and for D2 I only had to add the keywords "ref" and "string" to the syntax file. :)
ref should be added to the default D syntax file, it's D1/D2. string is not a keyword (although syntax highlighting it might be a good idea). Some other new keywords to add: immutable shared __traits
 I can't say anything about IDEs or Windows, as use neither.
Vim works on windows. -Steve
May 27 2009
prev sibling next sibling parent Mike James <foo bar.com> writes:
Matt Nawrocki Wrote:

 Hi... are there any IDEs or editors out there that support DMD 2.0 yet? I am
having a hard time finding a good one. Thanks!
 
 
 Matt
Have at look at Code::Blocks - it works well on Windows and Linux and has support for D1.0 - so I guess that should cover most of D2.0 keywords... -=mike=-
May 27 2009
prev sibling next sibling parent Jesse Phillips <jessekphillips gmail.com> writes:
On Tue, 26 May 2009 21:16:19 -0400, Matt Nawrocki wrote:

 Hi... are there any IDEs or editors out there that support DMD 2.0 yet?
 I am having a hard time finding a good one. Thanks!
 
 
 Matt
The answer to your question is no. IDEs that support D1 support D2 only in that the languages are similar.
May 27 2009
prev sibling parent Jussi Jumppanen <jussij zeusedit.com> writes:
Matt Nawrocki Wrote:

 Hi... are there any IDEs or editors out there that support DMD 2.0 
 yet? I am having a hard time finding a good one. Thanks!
On the Windows platform there is the Zeus editor/IDE: http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/ZeusForWindows Zeus is a shareware editor that also has quite few IDE like features. The current installer will be missing a few D2 keywords but they can be very easily added by hand.
May 27 2009