www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Which editor to use for editing DDOCs?

reply biocyberman <biocyberman gmail.com> writes:
Which one do you use? I am using Linux and Emacs for editing 
other D source file. But the DDOC syntaxes and keywords are not 
well high-lighted.
May 22
parent reply Russel Winder via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> writes:
On Mon, 2017-05-22 at 14:14 +0000, biocyberman via Digitalmars-d-learn
wrote:
 Which one do you use? I am using Linux and Emacs for editing=20
 other D source file. But the DDOC syntaxes and keywords are not=20
 well high-lighted.
There has been no work on handling DDOC comments specially in the Emacs D Mode as far as I know. There is some attempt to do things for Doxygen, but I am not sure how successful that is as I am not using it. It is not clear to me that all D's comment mechanisms are handled as they should be. It should be possible, albeit non-trivial I suspect, to add support for all the comment forms and the DDOC macro markup. The question does anyone have the energy to get stuck into the E-Lisp to achieve the goal =E2=80=93 and write the tests to prove it? --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
May 22
parent reply biocyberman <biocyberman gmail.com> writes:
On Monday, 22 May 2017 at 15:33:36 UTC, Russel Winder wrote:
 On Mon, 2017-05-22 at 14:14 +0000, biocyberman via 
 Digitalmars-d-learn wrote:
 Which one do you use? I am using Linux and Emacs for editing 
 other D source file. But the DDOC syntaxes and keywords are 
 not well high-lighted.
There has been no work on handling DDOC comments specially in the Emacs D Mode as far as I know. There is some attempt to do things for Doxygen, but I am not sure how successful that is as I am not using it. It is not clear to me that all D's comment mechanisms are handled as they should be. It should be possible, albeit non-trivial I suspect, to add support for all the comment forms and the DDOC macro markup. The question does anyone have the energy to get stuck into the E-Lisp to achieve the goal – and write the tests to prove it?
Adding DDOC support for D Mode require some more work obviously. I will see if I can make some changes to that. For the time being, I would like to know which editors people are using. Or is it a plain black and white editor ?
May 23
next sibling parent reply Russel Winder via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> writes:
On Tue, 2017-05-23 at 07:40 +0000, biocyberman via Digitalmars-d-learn
wrote:
=20
[=E2=80=A6]
 Adding DDOC support for D Mode require some more work obviously.=20
 I will see if I can make some changes to that. For the time=20
 being, I would like to know which editors people are using. Or is=20
 it a plain black and white editor ?
Until IntelliJ IDEA and/or CLion works for D, Emacs is my only D editor. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
May 23
parent biocyberman <biocyberman gmail.com> writes:
On Tuesday, 23 May 2017 at 10:10:24 UTC, Russel Winder wrote:
 On Tue, 2017-05-23 at 07:40 +0000, biocyberman via 
 Digitalmars-d-learn wrote:
 
[…]
 Adding DDOC support for D Mode require some more work 
 obviously. I will see if I can make some changes to that. For 
 the time being, I would like to know which editors people are 
 using. Or is it a plain black and white editor ?
Until IntelliJ IDEA and/or CLion works for D, Emacs is my only D editor.
Actually Emacs is my favorite editor. What's you setup to work with DDOCs?
Jul 07
prev sibling next sibling parent bauss <jj_1337 live.dk> writes:
On Tuesday, 23 May 2017 at 07:40:21 UTC, biocyberman wrote:
 On Monday, 22 May 2017 at 15:33:36 UTC, Russel Winder wrote:
 [...]
Adding DDOC support for D Mode require some more work obviously. I will see if I can make some changes to that. For the time being, I would like to know which editors people are using. Or is it a plain black and white editor ?
I just use Atom.
May 23
prev sibling parent bachmeier <no spam.net> writes:
On Tuesday, 23 May 2017 at 07:40:21 UTC, biocyberman wrote:

 Adding DDOC support for D Mode require some more work 
 obviously. I will see if I can make some changes to that. For 
 the time being, I would like to know which editors people are 
 using. Or is it a plain black and white editor ?
I use Emacs and Geany.
May 23