Thread overview | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 21, 2008 Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | "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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Attachments:
| 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris R. Miller | 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | 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 Re: Which text editors REALLY support D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | 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
|
Copyright © 1999-2021 by the D Language Foundation