This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDevelop with Digital Mars D ( or any other language )

Tags: None
(comma "," separated)
ParticlePeter
Registered Member
Posts
2
Karma
0
OS
Hi,

I would like to use KDevelop with D, but I can't find any hints or notes about using different languages with KDevelop 4. Is it possible at all ? What would I have to do to work with D ( Plug-in for KDevelop, some language definition config file, etc. ) ? Is there any web resource about this topic which I am missing ?

THX,

Cheers, ParticlePeter !
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Hi,

what is your understanding of "work with"? You can work with any language in KDevelop, the only difference will be how useful KDevelop is for that language. There's languages for which kdevelop has fancy features (C++, php, ...) which is where it will be really useful. Then there's languages that are not supported by kdevelop explicitly, which means it'll basically behave like kate with a new set of buttons (you can still "work with" that language, tough).

Getting a new language (like D) supported is no small task; it requires a language plugin, which analyzes the source code in the editor and provides the user with information about it (like listing all function declarations, semantic highlighting, ...). If you're interested in writing one, I suggest you write a mail to the kdevelop mailing list or visit us in IRC (#kdevelop on irc.freenode.net).

Greetings,
Sven


I'm working on the KDevelop IDE.
ParticlePeter
Registered Member
Posts
2
Karma
0
OS
Hi,

sorry for my late reply, I was not expecting an answer after this time.
To reply your question, for a start I would be quite happy if I could use the D Debugger in KDevelop, step through my code and watch my vars and objects.

Semmantic analysis would be nice, but if the above is possible without writing such a language plugin, I'd like to try it out.

Guess I'll get onto the Dev-Mailing List.

Cheers, ParticlePeter !
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Hi there,

yes, you can write a debugger plugin without any language support. It's not that difficult, especially if your debugger is similar to one of the supported ones (gdb?). You might want to look at the code of the gdb debugger, it's in kdevelop/debuggers/gdb.

Greetings


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell