www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Which text editors REALLY support D?

reply Don <nospam nospam.com.au> writes:
I'm pretty frustrated by this Wiki page:

nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

It gives some pretty misleading information. Almost all of the listed 
editors do not support D in any meaningful sense -- most can't even lex 
D correctly.
Personally I'm not that interested in highlighting of keywords. But a 
fundamental requirement is that nested /+ +/ comments and `wysiwg 
quotes` are handled correctly.

* CodeBlocks can't lex D.
* SciTE doesn't include D in their list of supported languages, despite 
what the D wiki says.
* Descent works, but it's attached to Eclipse.
* The recently-released UNA also seems to be Java-based bloatware.
* Sublime Text would be perfect, but is not free.

Someone, please tell me there's an editor (not IDE) which can lex D!
(And let's stop advertising the ones which can't!)
Jul 21 2008
next sibling parent reply "Steven Schveighoffer" <schveiguy yahoo.com> writes:
"Don" wrote
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed 
 editors do not support D in any meaningful sense -- most can't even lex D 
 correctly.
 Personally I'm not that interested in highlighting of keywords. But a 
 fundamental requirement is that nested /+ +/ comments and `wysiwg quotes` 
 are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite 
 what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I use vim, but you really need to like vi to use it :) But I've never really had issues with the syntax highlighting and indentation support. -Steve
Jul 21 2008
parent Frank Benoit <keinfarbton googlemail.com> writes:
Steven Schveighoffer schrieb:
 "Don" wrote
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed 
 editors do not support D in any meaningful sense -- most can't even lex D 
 correctly.
 Personally I'm not that interested in highlighting of keywords. But a 
 fundamental requirement is that nested /+ +/ comments and `wysiwg quotes` 
 are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite 
 what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I use vim, but you really need to like vi to use it :) But I've never really had issues with the syntax highlighting and indentation support. -Steve

In case of anonymous classes the indention does not work for me in vim. I use a combination of gvim and kate.
Jul 21 2008
prev sibling next sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Don wrote:
 I'm pretty frustrated by this Wiki page:
 
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
 
 It gives some pretty misleading information. Almost all of the listed 
 editors do not support D in any meaningful sense -- most can't even lex 
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a 
 fundamental requirement is that nested /+ +/ comments and `wysiwg 
 quotes` are handled correctly.
 
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite 
 what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.
 
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

The emacs mode works pretty well. Nested comments definitely work properly. But there is a change needed to the cc-mode it's based on to get "static if"s to nest line up properly. --bb
Jul 21 2008
prev sibling next sibling parent reply "Chris R. Miller" <lordSaurontheGreat gmail.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Don wrote:
 I'm pretty frustrated by this Wiki page:
=20
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
=20
 It gives some pretty misleading information. Almost all of the listed=20
 editors do not support D in any meaningful sense -- most can't even lex=

 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a=20
 fundamental requirement is that nested /+ +/ comments and `wysiwg=20
 quotes` are handled correctly.
=20
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite=

 what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.
=20
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I use JEdit a lot. It's Java-based, but it code-highlights for D and=20 the indentation isn't that bad. It could be better, but it's free,=20 works, and it's certainly smaller than the Eclipse footprint (much less=20 the Eclipse+Descent footprint!)
Jul 21 2008
next sibling parent reply Don <nospam nospam.com.au> writes:
Chris R. Miller wrote:
 Don wrote:
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed 
 editors do not support D in any meaningful sense -- most can't even 
 lex D correctly.
 Personally I'm not that interested in highlighting of keywords. But a 
 fundamental requirement is that nested /+ +/ comments and `wysiwg 
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, 
 despite what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I use JEdit a lot. It's Java-based, but it code-highlights for D and the indentation isn't that bad. It could be better, but it's free, works, and it's certainly smaller than the Eclipse footprint (much less the Eclipse+Descent footprint!)

Does it lex correctly? Graying out nested comments is the #1 thing I want in a text editor. I'm appalled that so few of the editors advertised as being for D can actually satisfy such a trivial requirement.
Jul 22 2008
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Don wrote:

 I use JEdit a lot.  It's Java-based, but it code-highlights for D and 
 the indentation isn't that bad.  It could be better, but it's free, 
 works, and it's certainly smaller than the Eclipse footprint (much 
 less the Eclipse+Descent footprint!)

Does it lex correctly? Graying out nested comments is the #1 thing I want in a text editor. I'm appalled that so few of the editors advertised as being for D can actually satisfy such a trivial requirement.

I reckon most D modes that exist were created by making minor tweaks to existing C++ modes, and C++ doesn't have nested comments so the infrastructure isn't there. It was one of the harder things to figure out how to get working with the emacs D mode. --bb
Jul 22 2008
parent Don <nospam nospam.com.au> writes:
Bill Baxter wrote:
 Don wrote:
 
 I use JEdit a lot.  It's Java-based, but it code-highlights for D and 
 the indentation isn't that bad.  It could be better, but it's free, 
 works, and it's certainly smaller than the Eclipse footprint (much 
 less the Eclipse+Descent footprint!)

Does it lex correctly? Graying out nested comments is the #1 thing I want in a text editor. I'm appalled that so few of the editors advertised as being for D can actually satisfy such a trivial requirement.

I reckon most D modes that exist were created by making minor tweaks to existing C++ modes, and C++ doesn't have nested comments so the infrastructure isn't there. It was one of the harder things to figure out how to get working with the emacs D mode.

I can well believe that. It'd be trivial for a text editor programmer, though. It's just my opinion that any C++ or Java editor works reasonably well for D, without any modification. A different keyword list doesn't help much. You only get an improvement once you have support for nested comments and D strings. So we have levels of support: 1. C++/Java editor 2. D lexing support (nested comments, strings) 3. Code completion. 4. Full-blown IDE with various fancy stuff (AFAIK only Descent has reached level 4). Would be nice to get the major editors at least to level 2.
Jul 22 2008
prev sibling parent "Bill Baxter" <wbaxter gmail.com> writes:
On Tue, Jul 22, 2008 at 4:11 PM, Don <nospam nospam.com.au> wrote:
 I use JEdit a lot.  It's Java-based, but it code-highlights for D and the
 indentation isn't that bad.  It could be better, but it's free, works, and
 it's certainly smaller than the Eclipse footprint (much less the
 Eclipse+Descent footprint!)

Does it lex correctly? Graying out nested comments is the #1 thing I want in a text editor. I'm appalled that so few of the editors advertised as being for D can actually satisfy such a trivial requirement.

I reckon most D modes that exist were created by making minor tweaks to existing C++ modes, and C++ doesn't have nested comments so the infrastructure isn't there. It was one of the harder things to figure out how to get working with the emacs D mode. (testing mail gateway for the first time, so this may not work...) --bb
Jul 22 2008
prev sibling next sibling parent "Koroskin Denis" <2korden gmail.com> writes:
On Mon, 21 Jul 2008 19:37:05 +0400, Don <nospam nospam.com.au> wrote:

 * SciTE doesn't include D in their list of supported languages, despite  
 what the D wiki says.

I just downloaded it and it has decent D support. The only feature missing is a wysiwyg string support.
Jul 21 2008
prev sibling next sibling parent downs <default_357-line yahoo.de> writes:
Don wrote:
 I'm pretty frustrated by this Wiki page:
 
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
 
 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.
 
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.
 
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)
 
 

kate works fine for me. Quotes used to be broken, but this has been fixed recently. --downs
Jul 21 2008
prev sibling next sibling parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:

 I'm pretty frustrated by this Wiki page:
 
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
 
 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.
 
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.
 
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I'll agree that the lack of proper handling of D specific features is a little annoying, but it looks as though that the editors you know of that do support it you just don't want. I use Vim myself, I haven't had any issues.
Jul 22 2008
parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Tue, 22 Jul 2008 14:36:28 +0000, Jesse Phillips wrote:

 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:
 
 I'm pretty frustrated by this Wiki page:
 
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
 
 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.
 
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.
 
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I'll agree that the lack of proper handling of D specific features is a little annoying, but it looks as though that the editors you know of that do support it you just don't want. I use Vim myself, I haven't had any issues.

I'd actually like to change the direction for Don's question based of off what I pointed out. What should be the feature set that an editor must support to be considered as a D supporting editor. We have Nested Comments Wysiwyg strings from Don Keyword Highlighting Do we need indentation correctness as pointed out by Frank? Should we be hard on IDE's that give features for other languages but not D even though D could make use of it? I don't know how that would fair for Descent since it is an Eclipse plugin. I suppose the main question is what should be taken off of the list of D supporting editors?
Jul 22 2008
parent Don <nospam nospam.com.au> writes:
Jesse Phillips wrote:
 On Tue, 22 Jul 2008 14:36:28 +0000, Jesse Phillips wrote:
 
 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:

 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

little annoying, but it looks as though that the editors you know of that do support it you just don't want. I use Vim myself, I haven't had any issues.

I'd actually like to change the direction for Don's question based of off what I pointed out. What should be the feature set that an editor must support to be considered as a D supporting editor. We have Nested Comments Wysiwyg strings from Don Keyword Highlighting Do we need indentation correctness as pointed out by Frank? Should we be hard on IDE's that give features for other languages but not D even though D could make use of it? I don't know how that would fair for Descent since it is an Eclipse plugin. I suppose the main question is what should be taken off of the list of D supporting editors?

I think it would be enough (for now) to split the list into the different levels of support. The final (and largest) section would be: Editors for other curly-brace languages, which are nonetheless usable with D. Unfinished, discontinued projects shouldn't be in the list at all. Hopefully, as editor support improves, editors will move into higher categories, and new categories will need to be added at the top <g>.
Jul 23 2008
prev sibling next sibling parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:

 I'm pretty frustrated by this Wiki page:
 
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
 
 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.
 
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.
 
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I have done some clean up with added categories and removal of all completely dead projects that would be of no use. I don't have the knowledge for in-depth feature support but hopefully it enough to allow people to find the editor that suits them. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport
Jul 23 2008
next sibling parent Don <nospam nospam.com.au> writes:
Jesse Phillips wrote:
 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:
 
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I have done some clean up with added categories and removal of all completely dead projects that would be of no use. I don't have the knowledge for in-depth feature support but hopefully it enough to allow people to find the editor that suits them. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport

Jul 24 2008
prev sibling next sibling parent Don <nospam nospam.com.au> writes:
Jesse Phillips wrote:
 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:
 
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I have done some clean up with added categories and removal of all completely dead projects that would be of no use. I don't have the knowledge for in-depth feature support but hopefully it enough to allow people to find the editor that suits them. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport

Another requirement: must support unicode source files. That eliminates SciTE, based on my tests. SublimeText is an editor that supports D lexing, and should be moved up from the bottom category. Somehow, I can't log into that D wiki any more, or I'd do it myself.
Jul 30 2008
prev sibling next sibling parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Jesse Phillips wrote:
 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:
 
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I have done some clean up with added categories and removal of all completely dead projects that would be of no use. I don't have the knowledge for in-depth feature support but hopefully it enough to allow people to find the editor that suits them. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport

Whoa. I agree the list could use some cleanup, but that new division has lots of duplicate entries. (That's annoying both to user, and also to the editor who has to update multiple entries) I would suggest we instead put each entry into one category only. And I recommend the following categories, based on Don's sugestion: IDEs * Must have semantic features, or a GUI-builder, or good debugger integration. An example of a semantic feature would be code completion (but not just completion of D keywords, which is merely syntactic). If it is a plugin for an IDE (such as Visual Studio), but the plugin itself only has editor features, place an appropriate note, or don't put it in the IDE category, as you feel appropriate. Editors with good support: * Must have syntax highlighting that lexes D correctly (nested comments, the various string literals, etc.) Other editors: * Anything else I've changed the wiki according to that, so take a look and see what you think. Also, I haven't checked the corrected of each entry, so change it's place if you feel it's more correct. -- Bruno Medeiros - Software Developer, MSc. in CS/E graduate http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Aug 26 2008
next sibling parent Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Don wrote:
 SublimeText is an editor that supports D lexing, and should be moved up
 from the bottom category.
 Somehow, I can't log into that D wiki any more, or I'd do it myself.

Done.
 Another requirement: must support unicode source files.

That should be taken into consideration, but I'm note sure it should be a hard requisite for category inclusion. Let's just ask that if the editor doesn't support unicode, that should be placed in the notes.
 That eliminates SciTE, based on my tests.

Which one? I mean, what are the differences between SciTE, SciTE4D, and SEATDforScite? http://prowiki.org/wiki4d/wiki.cgi?EditorSupport/SciTE http://prowiki.org/wiki4d/wiki.cgi?EditorSupport/SciTE4D http://prowiki.org/wiki4d/wiki.cgi?EditorSupport/SEATDforScite Would someone clean that up? -- Bruno Medeiros - Software Developer, MSc. in CS/E graduate http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Aug 26 2008
prev sibling next sibling parent reply =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
Bruno Medeiros wrote:

 IDEs
 * Must have semantic features, or a GUI-builder, or good debugger 
 integration.
 An example of a semantic feature would be code completion (but not just 
 completion of D keywords, which is merely syntactic).
 If it is a plugin for an IDE (such as Visual Studio), but the plugin 
 itself only has editor features, place an appropriate note, or don't put 
 it in the IDE category, as you feel appropriate.

http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#Othereditors Code::Blocks, while being a C/C++ IDE that kinda thinks that DMD/GDC are some weird "compilers", does have most of the basic IDE features. It does allow you to create projects and edit code, and it allows you to build with DMD or GDC and run and debug them with for instance GDB. So shouldn't it be listed among the D IDE's ? Theoretically it even has a GUI builder with wxSmith and wxD, although no template just yet. (the builder writes xml-based "XRC" files, which can be loaded by wx) And it's also cross-platform and free software, which is rather rare. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#IDEEditorsthatsupportD I added Xcode to the IDE list, since it does have lexing and completion. http://michelf.com/projects/d-for-xcode/ (does require Mac OS X though) --anders
Aug 27 2008
parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Anders F Björklund wrote:
 Bruno Medeiros wrote:
 
 IDEs
 * Must have semantic features, or a GUI-builder, or good debugger 
 integration.
 An example of a semantic feature would be code completion (but not 
 just completion of D keywords, which is merely syntactic).
 If it is a plugin for an IDE (such as Visual Studio), but the plugin 
 itself only has editor features, place an appropriate note, or don't 
 put it in the IDE category, as you feel appropriate.

http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#Othereditors Code::Blocks, while being a C/C++ IDE that kinda thinks that DMD/GDC are some weird "compilers", does have most of the basic IDE features. It does allow you to create projects and edit code, and it allows you to build with DMD or GDC and run and debug them with for instance GDB. So shouldn't it be listed among the D IDE's ? Theoretically it even has a GUI builder with wxSmith and wxD, although no template just yet. (the builder writes xml-based "XRC" files, which can be loaded by wx) And it's also cross-platform and free software, which is rather rare. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#IDEEditorsthatsupportD I added Xcode to the IDE list, since it does have lexing and completion. http://michelf.com/projects/d-for-xcode/ (does require Mac OS X though) --anders

Xcode seems to clearly belong in the IDE category, but dunno about Code::Blocks, I don't know it that well. It depends in the level of integration, and for your description of it, it seems to be about in the middle. It could be placed in the IDE category, with a note saying it has few D-specific features. Well, let those who use Code::Blocks say what they think is more appropriate. :P -- Bruno Medeiros - Software Developer, MSc. in CS/E graduate http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Aug 31 2008
parent Charles Hixson <charleshixsn earthlink.net> writes:
Bruno Medeiros wrote:
 Anders F Björklund wrote:
 Bruno Medeiros wrote:

 IDEs
 * Must have semantic features, or a GUI-builder, or good debugger 
 integration.
 An example of a semantic feature would be code completion (but not 
 just completion of D keywords, which is merely syntactic).
 If it is a plugin for an IDE (such as Visual Studio), but the plugin 
 itself only has editor features, place an appropriate note, or don't 
 put it in the IDE category, as you feel appropriate.

http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#Othereditors Code::Blocks, while being a C/C++ IDE that kinda thinks that DMD/GDC are some weird "compilers", does have most of the basic IDE features. It does allow you to create projects and edit code, and it allows you to build with DMD or GDC and run and debug them with for instance GDB. So shouldn't it be listed among the D IDE's ? Theoretically it even has a GUI builder with wxSmith and wxD, although no template just yet. (the builder writes xml-based "XRC" files, which can be loaded by wx) And it's also cross-platform and free software, which is rather rare. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#IDEEditorsthatsupportD I added Xcode to the IDE list, since it does have lexing and completion. http://michelf.com/projects/d-for-xcode/ (does require Mac OS X though) --anders

Xcode seems to clearly belong in the IDE category, but dunno about Code::Blocks, I don't know it that well. It depends in the level of integration, and for your description of it, it seems to be about in the middle. It could be placed in the IDE category, with a note saying it has few D-specific features. Well, let those who use Code::Blocks say what they think is more appropriate. :P

on Linux.) For C++ it was an IDE, but for D ... well, I've switched to Kate, as being a better editor.
Sep 14 2008
prev sibling next sibling parent Mason Green <mason.green gmail.com> writes:
 Editors with good support:
 * Must have syntax highlighting that lexes D correctly (nested comments, 
 the various string literals, etc.)
 

On Windowz, I really like using Programmer's Notepad, which is based on Scite: http://www.pnotepad.org/ It would be nice to use something comparable in Linux without having to use Wine.... Anyone have any good recommendations? -Mason
Aug 27 2008
prev sibling parent reply Michael P. <baseball.mjp gmail.com> writes:
Bruno Medeiros Wrote:

 Jesse Phillips wrote:
 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:
 
 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

I have done some clean up with added categories and removal of all completely dead projects that would be of no use. I don't have the knowledge for in-depth feature support but hopefully it enough to allow people to find the editor that suits them. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport

Whoa. I agree the list could use some cleanup, but that new division has lots of duplicate entries. (That's annoying both to user, and also to the editor who has to update multiple entries) I would suggest we instead put each entry into one category only. And I recommend the following categories, based on Don's sugestion: IDEs * Must have semantic features, or a GUI-builder, or good debugger integration. An example of a semantic feature would be code completion (but not just completion of D keywords, which is merely syntactic). If it is a plugin for an IDE (such as Visual Studio), but the plugin itself only has editor features, place an appropriate note, or don't put it in the IDE category, as you feel appropriate. Editors with good support: * Must have syntax highlighting that lexes D correctly (nested comments, the various string literals, etc.) Other editors: * Anything else I've changed the wiki according to that, so take a look and see what you think. Also, I haven't checked the corrected of each entry, so change it's place if you feel it's more correct. -- Bruno Medeiros - Software Developer, MSc. in CS/E graduate http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D

How about DCode? http://www.dprogramming.com/dcode.php I use it, and it works well.
Aug 27 2008
next sibling parent Sergey Gromov <snake.scaly gmail.com> writes:
Michael P. <baseball.mjp gmail.com> wrote:
 How about DCode?
 http://www.dprogramming.com/dcode.php
 
 I use it, and it works well.

DCode seems to be the only editor that correctly supports multiline and WYSIWYG string literals. I wish it also supported D2's delimited strings. -- SnakE
Aug 28 2008
prev sibling parent Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Michael P. wrote:
 Bruno Medeiros Wrote:
 
 Jesse Phillips wrote:
 On Mon, 21 Jul 2008 17:37:05 +0200, Don wrote:

 I'm pretty frustrated by this Wiki page:

 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport

 It gives some pretty misleading information. Almost all of the listed
 editors do not support D in any meaningful sense -- most can't even lex
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a
 fundamental requirement is that nested /+ +/ comments and `wysiwg
 quotes` are handled correctly.

 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite
 what the D wiki says.
 * Descent works, but it's attached to Eclipse. * The recently-released
 UNA also seems to be Java-based bloatware. * Sublime Text would be
 perfect, but is not free.

 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)

completely dead projects that would be of no use. I don't have the knowledge for in-depth feature support but hopefully it enough to allow people to find the editor that suits them. http://prowiki.org/wiki4d/wiki.cgi?EditorSupport

lots of duplicate entries. (That's annoying both to user, and also to the editor who has to update multiple entries) I would suggest we instead put each entry into one category only. And I recommend the following categories, based on Don's sugestion: IDEs * Must have semantic features, or a GUI-builder, or good debugger integration. An example of a semantic feature would be code completion (but not just completion of D keywords, which is merely syntactic). If it is a plugin for an IDE (such as Visual Studio), but the plugin itself only has editor features, place an appropriate note, or don't put it in the IDE category, as you feel appropriate. Editors with good support: * Must have syntax highlighting that lexes D correctly (nested comments, the various string literals, etc.) Other editors: * Anything else I've changed the wiki according to that, so take a look and see what you think. Also, I haven't checked the corrected of each entry, so change it's place if you feel it's more correct. -- Bruno Medeiros - Software Developer, MSc. in CS/E graduate http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D

How about DCode? http://www.dprogramming.com/dcode.php I use it, and it works well.

What about "how about DCode"? :7 (It's listed there, under editor with good support, so what's the issue?) -- Bruno Medeiros - Software Developer, MSc. in CS/E graduate http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Aug 31 2008
prev sibling parent Jesse Phillips <jessekphillips gmail.com> writes:
On Wed, 27 Aug 2008 10:12:03 -0400, Mason Green wrote:

 Editors with good support:
 * Must have syntax highlighting that lexes D correctly (nested
 comments, the various string literals, etc.)
 
 

Scite: http://www.pnotepad.org/ It would be nice to use something comparable in Linux without having to use Wine.... Anyone have any good recommendations? -Mason

I think Kate might be the closest. I haven't used it or Programmer's Notepad (always prefer vim).
Aug 27 2008
prev sibling parent Vladimir <gvv.coder gmail.com> writes:
Don Wrote:

 I'm pretty frustrated by this Wiki page:
 
 nhttp://prowiki.org/wiki4d/wiki.cgi?EditorSupport
 
 It gives some pretty misleading information. Almost all of the listed 
 editors do not support D in any meaningful sense -- most can't even lex 
 D correctly.
 Personally I'm not that interested in highlighting of keywords. But a 
 fundamental requirement is that nested /+ +/ comments and `wysiwg 
 quotes` are handled correctly.
 
 * CodeBlocks can't lex D.
 * SciTE doesn't include D in their list of supported languages, despite 
 what the D wiki says.
 * Descent works, but it's attached to Eclipse.
 * The recently-released UNA also seems to be Java-based bloatware.
 * Sublime Text would be perfect, but is not free.
 
 Someone, please tell me there's an editor (not IDE) which can lex D!
 (And let's stop advertising the ones which can't!)
 
 

Fine.
Aug 23 2008