Skip navigation.
KDE Developer's Journals

KDevelop C# Language Support

manyoso's picture

So, I've been working on some kdevelop language support C# for the past few days. I already have some pretty interesting screenshots, but I recently discovered that KDevelop is going through a major change in the way it handles different build systems. Roberto Raggi is working on a New Project Manager (NPM) that will form the basis of a common project editor widget for all the various languages. Individual language/buildsystems will then customize the interfaces to this NPM in order to provide language/buildsystem specific features. It is a great idea as it will cut down on the duplication of code in KDevelop and provide some standard and uniform UI widgets. Since I found out about it, I've been porting my initial C# build part to this new architecture. More...

I've also been hacking on a ANTLR parser to provide code completion and other various goodies. It is all going well, but the crux of it is that I'll have to hold back the commit until the port of the three day old code is finished Eye-wink That might be a little longer than anticipated since the NPM interfaces aren't finished (in particular we don't have interfaces or specs for an exporter) and I'm now working on new nifty features like the code completion.

Questions:

  1. What language are you using to implement?
  2. What toolchains are you using/have support for?
  3. Any build system preferences?
  4. Still working on Qt# and KDE#?

Answers:

  1. C++ silly Eye-wink I had thought of doing it in C# when KDE# was ready, but I want it now and besides this is easier since KDevelop is already in C++.
  2. Portable.NET, Mono and Rotor. You'll have the choice of compilers, assemblies and runtimes. You can mix and match to your hearts content.
  3. Yes. For now, I've decided to default with Portable.NET's csant. In the future, I'll heavily consider using Marcus Urban's cool new msbuild clone project. Marcus has been working on it and doing a great job. This has a good chance of becoming the ant-like standard for CIL languages.
  4. Yes, absolutely, but working on this too. We hope to have this all ready by KDE 3.4 so we can have a nice C# option for KDE development. Wish us luck!

Cheers.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
eto's picture

any way to get the source?

.. so someone else can continue the effort? (;

madtom1999's picture

c# additions

How are you getting on?
I've been playing with mono for a while know and would relly like to get up and running on linux...

geiseri's picture

honest...

...im not ignoring your patch, really! =)

shockingly i dont have mono installed so i have not had a chance to test any of it Eye-wink

BUT i promise i will.

manyoso's picture

It is outdated

... since I changing it to work with the NPM anyway. Also, if you want to test that patch you should install pnet instead of mono since it uses the csant (think pnet's ant) build tool for now ;P

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.