Jump to page: 1 2 3
Thread overview
Which text editors REALLY support D?
Jul 21, 2008
Don
Jul 21, 2008
Frank Benoit
Jul 21, 2008
Bill Baxter
Jul 21, 2008
Chris R. Miller
Jul 22, 2008
Don
Jul 22, 2008
Bill Baxter
Jul 22, 2008
Don
Jul 22, 2008
Bill Baxter
Jul 22, 2008
Koroskin Denis
Jul 22, 2008
downs
Jul 22, 2008
Jesse Phillips
Jul 23, 2008
Jesse Phillips
Jul 23, 2008
Don
Jul 24, 2008
Jesse Phillips
Jul 24, 2008
Don
Jul 30, 2008
Don
Re: Which text editors REALLY support D? [Wiki EditorSupport]
Aug 26, 2008
Bruno Medeiros
Aug 26, 2008
Bruno Medeiros
Aug 31, 2008
Bruno Medeiros
Sep 14, 2008
Charles Hixson
Aug 27, 2008
Mason Green
Aug 28, 2008
Jesse Phillips
Aug 27, 2008
Michael P.
Aug 28, 2008
Sergey Gromov
Aug 31, 2008
Bruno Medeiros
Aug 23, 2008
Vladimir
July 21, 2008
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!)


July 21, 2008
"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


July 21, 2008
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.


July 21, 2008
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
July 21, 2008
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!)




July 22, 2008
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.

July 22, 2008
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
July 22, 2008
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.
July 22, 2008
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
July 22, 2008
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
« First   ‹ Prev
1 2 3