www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Syntax Highlighting for Kate (KDE)

reply Simon J Mackenzie <project.d smackoz.fastmail.fm> writes:
Hi Guys,
Kate for KDE has now been realeased with inbuilt D syntax highlighting. 
  For more info see http://kate.kde.org/.

Cheers
Simon
May 18 2004
next sibling parent reply Ant <Ant_member pathlink.com> writes:
In article <c8d150$mfs$1 digitaldaemon.com>, Simon J Mackenzie says...
Hi Guys,
Kate for KDE has now been realeased with inbuilt D syntax highlighting. 
  For more info see http://kate.kde.org/.

Cheers
Simon

Ok, I have to ask this: Why would you use kate when leds is available? leds is very stable now (read disclamer on license) what is missing on leds that is present on kate? as I remember kate doesn't have the code layout or intelissense available that alone should be a reason to move to leds, (even if some constructs confuse leds sometimes). http://leds.sourceforge.net just grab the linux binary, unzip it (,rename it) and go. Ant
May 18 2004
next sibling parent reply Scott Michel <scottm cs.ucla.edu> writes:
Ant wrote:

 In article <c8d150$mfs$1 digitaldaemon.com>, Simon J Mackenzie says...
Hi Guys,
Kate for KDE has now been realeased with inbuilt D syntax highlighting.
  For more info see http://kate.kde.org/.

Cheers
Simon

Ok, I have to ask this: Why would you use kate when leds is available?

Because kate is integral to KDE, leds isn't (if you use KDE as your *nix desktop.)
May 18 2004
parent reply Ant <Ant_member pathlink.com> writes:
In article <c8dmtr$1t60$1 digitaldaemon.com>, Scott Michel says...
Ant wrote:

 In article <c8d150$mfs$1 digitaldaemon.com>, Simon J Mackenzie says...
Hi Guys,
Kate for KDE has now been realeased with inbuilt D syntax highlighting.
  For more info see http://kate.kde.org/.

Cheers
Simon

Ok, I have to ask this: Why would you use kate when leds is available?

Because kate is integral to KDE, leds isn't (if you use KDE as your *nix desktop.)

Do you find to troubleing to see buttons drawn a little bit differently? (probably you can download a theme for GTK that emulates your KDE theme) Is KDE so monopolistically blind that doesn't allow users to fire an external application as if it was a KDE application? (couldn't spell seamingsly) Or don't you use a GTK application for some ideoligical reason? (all distros I tryed had both KDE and Gnome - I don't use any, just GTK) leds is a much (,much, much) better tool for coding on D then kate, it's your lost if you impose yourself that artificial limitation. if you have GTK on you system there is no reason (that I find valid) not to use leds. I don't see a reason not to install GTK (unless you don't own the system). well, is my lost too as I need users with reports and suggestions... Ant
May 18 2004
next sibling parent reply Regan Heath <regan netwin.co.nz> writes:
Ant,

It seems to me if you provide keyboard mappings in leds for Kate and 
Eclipse? and any other editor you find people are using for D development 
you will get more converts.

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
May 18 2004
parent reply Ant <Ant_member pathlink.com> writes:
In article <opr77upky75a2sq9 digitalmars.com>, Regan Heath says...
Ant,

It seems to me if you provide keyboard mappings in leds for Kate and 
Eclipse? and any other editor you find people are using for D development 
you will get more converts.

There is support for key mapping in leds (and it's easy to add others, I just don't use anything else) http://leds.sourceforge.net/prefEditorKeys.html these are (were?) similar to the eclipse default (I use eclipse 9 to 5) Maybe I can have a set of preset definitions (Once I improve the project's multiple targets UI I should be able use the same code for multiple key schemas) Ant PS I didn't remember the "Next Element" and "Previous Element"! :} I wonder if those really work?...
May 18 2004
parent reply Regan Heath <regan netwin.co.nz> writes:
On Tue, 18 May 2004 22:36:16 +0000 (UTC), Ant <Ant_member pathlink.com> 
wrote:
 In article <opr77upky75a2sq9 digitalmars.com>, Regan Heath says...
 Ant,

 It seems to me if you provide keyboard mappings in leds for Kate and
 Eclipse? and any other editor you find people are using for D 
 development
 you will get more converts.

There is support for key mapping in leds (and it's easy to add others, I just don't use anything else) http://leds.sourceforge.net/prefEditorKeys.html these are (were?) similar to the eclipse default (I use eclipse 9 to 5) Maybe I can have a set of preset definitions

That is what I was trying to suggest :)
 (Once I improve the project's multiple targets UI I should be able use 
 the same code for multiple key schemas)

 Ant
 PS I didn't remember the "Next Element" and "Previous Element"! :}
 I wonder if those really work?...

I don't know.. to tell the truth I don't actually use leds, I use DIDE on windows. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
May 18 2004
parent reply Ant <duitoolkit yahoo.ca> writes:
On Wed, 19 May 2004 11:30:41 +1200, Regan Heath wrote:

 On Tue, 18 May 2004 22:36:16 +0000 (UTC), Ant <Ant_member pathlink.com> 
 wrote:
 http://leds.sourceforge.net/prefEditorKeys.html

 Ant
 PS I didn't remember the "Next Element" and "Previous Element"! :}
 I wonder if those really work?...

I don't know.. to tell the truth I don't actually use leds, I use DIDE on windows.

They don't, there isn't even code to process those... (there probably millions and millions of people pressing that key and nothing is hapening... it's all my fault)
 I use DIDE on windows.

if you switch to leds we would double the number of users. Ant
May 18 2004
parent reply J C Calvarese <jcc7 cox.net> writes:
Ant wrote:

 On Wed, 19 May 2004 11:30:41 +1200, Regan Heath wrote:
 
 
On Tue, 18 May 2004 22:36:16 +0000 (UTC), Ant <Ant_member pathlink.com> 
wrote:

http://leds.sourceforge.net/prefEditorKeys.html

Ant
PS I didn't remember the "Next Element" and "Previous Element"! :}
I wonder if those really work?...

I don't know.. to tell the truth I don't actually use leds, I use DIDE on windows.

They don't, there isn't even code to process those... (there probably millions and millions of people pressing that key and nothing is hapening... it's all my fault)
I use DIDE on windows.

if you switch to leds we would double the number of users.

I assume you're referring to the mythical leds running on Windows. ("If you release it, they will test it.")
 
 Ant

-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
May 18 2004
parent Ant <duitoolkit yahoo.ca> writes:
On Tue, 18 May 2004 20:34:20 -0500, J C Calvarese wrote:

 Ant wrote:
 
 
 I assume you're referring to the mythical leds running on Windows.
 
 ("If you release it, they will test it.")
 

:) sorry. But - I'm already using leds in windows(!) to develop the leds windows version. 2 problems: - can't make the GTK Spawn fire a system command (????) - didn't even got gcc running to compile scintilla (maybe I shouldn't say this, well Charles is a good guy) I already prefer leds (windows) to DIDE but that's expected, I wrote leds... Ant
May 18 2004
prev sibling parent reply -scooter- <scottm cs.ucla.edu> writes:
Ant wrote:
 Do you find to troubleing to see buttons drawn a little bit differently?
 (probably you can download a theme for GTK that emulates your KDE theme)
 Is KDE so monopolistically blind that doesn't allow users to fire an
 external application as if it was a KDE application?
 (couldn't spell seamingsly)

I try to steer clear of GTK because it's typical of the bazaar approach to building software. KDE and FreeBSD have a similar approach to building software that isn't "bazaar" or "bizarre". I know what I'm getting when I install KDE from FreeBSD ports, inasmuch as I run FreeBSD instead of Linux because I know what I'm getting when I build the world (no wacky glibc problems, for one.) Besides, I use XEmacs for most of my heavy duty editing. Kate's useful for viewing source but I don't do project work with it.
 Or don't you use a GTK application for some ideoligical reason?
 (all distros I tryed had both KDE and Gnome - I don't use any, just GTK)

Ah, that's where you made a mistake. You assumed that I run Linux. And, yes, I don't use Gnome or GTK partly for ideological reasons enumerated above.
 leds is a much (,much, much) better tool for coding on D then kate,
 it's your lost if you impose yourself that artificial limitation.
 if you have GTK on you system there is no reason
 (that I find valid) not to use leds.
 I don't see a reason not to install GTK (unless you don't own the system).
 
 well, is my lost too as I need users with reports and suggestions...

I'm sure you will find a more receptive audience for your software, but you might want to be a little less shrill about advocating your software.
May 19 2004
parent Ant <duitoolkit yahoo.ca> writes:
On Wed, 19 May 2004 21:18:55 -0700, -scooter- wrote:

 I try to steer clear of GTK because it's typical of the bazaar approach to 
 building software.

I don't like KDE but I'm gonna take a look a KDevelop, looks quite interesting.
 
 Besides, I use XEmacs for most of my heavy duty editing. Kate's useful for 
 viewing source but I don't do project work with it.

I tried it, kinda awfull. But I confess I didn't even figured out how I could take control of how the buffers were used instead of XEmacs deciding it for me. I don't like apps that believe they are smarter then the user.
 
 Or don't you use a GTK application for some ideoligical reason? (all
 distros I tryed had both KDE and Gnome - I don't use any, just GTK)

Ah, that's where you made a mistake. You assumed that I run Linux.

sorry.
 And, yes, 
 I don't use Gnome or GTK partly for ideological reasons enumerated above.

 you might want to be a little less shrill about advocating your software.

http://www.freesearch.co.uk/dictionary/shrill shrill adjective 1 having a loud and high sound that is unpleasant or painful to listen to: - She had a shrill high-pitched voice. 2 DISAPPROVING describes a way of arguing or criticizing that seems too forceful: - He launched a shrill attack on the Prime Minister. thanks for the advice. I'll try. I know that even this will be seen as sarcastic but it's not mean to be. Ant
May 19 2004
prev sibling parent reply Norbert Nemec <Norbert.Nemec gmx.de> writes:
I have never tried leds. Anyhow: I use many different programming languages
and other text file formats. Kate certainly is not perfect for any
individual one, but it is far more comfortable to stick with one editor
that does everything reasonably well than having to adjust to different
editors all the time.


Ant wrote:

 In article <c8d150$mfs$1 digitaldaemon.com>, Simon J Mackenzie says...
Hi Guys,
Kate for KDE has now been realeased with inbuilt D syntax highlighting.
  For more info see http://kate.kde.org/.

Cheers
Simon

Ok, I have to ask this: Why would you use kate when leds is available? leds is very stable now (read disclamer on license) what is missing on leds that is present on kate? as I remember kate doesn't have the code layout or intelissense available that alone should be a reason to move to leds, (even if some constructs confuse leds sometimes). http://leds.sourceforge.net just grab the linux binary, unzip it (,rename it) and go. Ant

May 18 2004
parent Brad Anderson <brad dsource.dot.org> writes:
That is also my reason for sticking with D and Java development in 
Eclipse.  One tool for both languages.  It also does C/C++ and I hear 
PHP is closing in on a plug-in.  It's a really nice platform for IDE 
creation and use.

BA

Norbert Nemec wrote:
 I have never tried leds. Anyhow: I use many different programming languages
 and other text file formats. Kate certainly is not perfect for any
 individual one, but it is far more comfortable to stick with one editor
 that does everything reasonably well than having to adjust to different
 editors all the time.
 
 
 Ant wrote:
 
 
In article <c8d150$mfs$1 digitaldaemon.com>, Simon J Mackenzie says...

Hi Guys,
Kate for KDE has now been realeased with inbuilt D syntax highlighting.
 For more info see http://kate.kde.org/.

Cheers
Simon

Ok, I have to ask this: Why would you use kate when leds is available? leds is very stable now (read disclamer on license) what is missing on leds that is present on kate? as I remember kate doesn't have the code layout or intelissense available that alone should be a reason to move to leds, (even if some constructs confuse leds sometimes). http://leds.sourceforge.net just grab the linux binary, unzip it (,rename it) and go. Ant


May 18 2004
prev sibling parent reply Simon J Mackenzie <project.d smackoz.fastmail.fm> writes:
My two bits worth...

Big picture...

Kate (alah KDE) support for D means the the *.d,*.D extensions for D 
source code are accounted for under linux in a high profile way.  This 
in turn adds more weight for the general adoption of D under linux.  Not 
to mention adding support to any claim made by leds or any other Dev 
tool which attempts to support D under linux as a legitimate programming 
language.

Small picture...

Who cares if Kate is better or worse than leds.  I say, the more options 
out there for people the better.  When people see D as a highlighting 
option under Kate they may begin to ask questions...  and that can only 
be good for D... and leds!

My picture...

Kate it a developing product which has real potential...
Kate is integrated into KDevelop which means D is now one step closer to 
being supported by a ?main? stream development environment and this 
would certainly help to increase the exposure of D!

Parting comment...

As an Ex-programmer I see real potential for D and want to see it 
succeed and the Kate highlighting project is a way I feel I've been able 
to contribute towards the goal of Dee success of D.

Shoot me down in flames if you like, but a phonex never says "die".

Cheers
SMack
May 19 2004
parent reply Ant <Ant_member pathlink.com> writes:
In article <c8f14n$ue1$1 digitaldaemon.com>, Simon J Mackenzie says...

of course, you're right. I still can't run KDevelop on my machine (I'll reinstall) but I looked at the kdevelop page. Can kdevelop understand D? Can the C++ (or other) mode be tricked to edit D projects? How easy is to have full support for D on kdevelop? How would one use kdevelop for D development? Ant
May 19 2004
parent Simon J Mackenzie <project.d smackoz.fastmail.fm> writes:
Ant wrote:
 In article <c8f14n$ue1$1 digitaldaemon.com>, Simon J Mackenzie says...
 
 
 of course, you're right.
 

Yeah thanks Ant.
 I still can't run KDevelop on my machine (I'll reinstall)
 but I looked at the kdevelop page.

1) > Can kdevelop understand D? 2) > Can the C++ (or other) mode be tricked to edit D projects? 3) > How easy is to have full support for D on kdevelop? 4) > How would one use kdevelop for D development? These are all good questions {:-)} I'm wondering if some of the dev work from leds be used to add the required support to KDevelop... or would that be too close to sacrilege??? (Hmmm, haven't felt any bolts of lightening yet, maybe that's a sign...{:-)} See http://developer.kde.org/documentation/library/cvs-api/kdevelop/html/LangSupportStatus.html I'll try and answer some of these quesitons (see 1234 above) but if anyone has already done some of the ground work it would be goooood to hear from you! Now it's time to sleep. Cheers SMack
May 19 2004