BlogKate/KDevelop HackSprint - Up To Day 4 Syndicate content

Wed, 02/17/2010 - 19:43

Woha, quite a few days flew by without me blogging about anything. Thankfully the others started to write so I don’t have to repeat it all ;-) Instead I’ll concentrate on stuff I did or learned.

GHNS for Snippets

Well, first I think an excuse is in oder: There is a GHNS button for Kate Snippets in 4.4.0 but it’s broken, neither me nor Joseph had time to acutally use and fix it… But anyways, I fixed it now for 4.4.1. For 4.5 we’ll also have an Upload Dialog.

I also added both now to KDevelop, you can now upload and download snippets from it. I added a few dump examples but will probably improve it steadily.

Kate Performance

On Saturday and Sunday I started to profile Kate highlighting for a large MySQL dump and managed to greatly improve the speed. Actually the funny thing is that I could improve RegExp based highlighting (you still should try to prevent using it, it will always be slower than simple char/string based highlighting). And the knowledge for this optimization I had from my time as an active contributor for GeSHi. I feel like it was ages ago, he funny :)

So if anybody has a big file that takes ages to load (but only if you use KDE 4.5 trunk or higher), tell me and give me the file. I might find some more ways to optimize different languages.

Other Stuff

Other than that I also managed to fix a few more bugs in Kate and KDevelop and had a good time with the other guys here in Berlin. Yesterday I showed some others how I spent quite a few nights: Partying in Berlin is nice :)

Oh and Bernhard showed me a little gem of his: Kate Standalone which you can use to build only KatePart from kdelibs trunk. This actually works very well (up until some new API from KDE trunk is used).

Comments

That is indeed the best part Wed, 01/22/2014 - 13:00 — Dinker (not verified)

That is indeed the best part of the prospect. You were at least able to manage and greatly improve the speed of the system. Anyways thanks a lot for the share. Keep sharing the latest updates through this site.

Very glad to see that you’re Sun, 05/09/2010 - 23:19 — craig (not verified)

Very glad to see that you’re so actively working on Kate and KDevelop. I’m a KDE user, and it’s always irked me that Kate couldn’t really stand toe-to-toe with Gedit. One of the big factors for me is how good Gedit’s snippets plugin is. KDevelop’s snippets seems to have taken a big step in the right direction, and I’m hoping to see Kate follow suit. Once Kate has ability to build format-specific snippet repositories like in Gedit and KDevelop, and the ability to assign keyboard shortcuts to snippets like Gedit, I can hopefully switch back to Kate as my primary editor :)

In short, keep up the great work!

This is great that you’re Sun, 02/21/2010 - 12:03 — Michael (not verified)

This is great that you’re working on Kate’s speed. I use it for all of my coding, except for large SQL files and now javascript code that has been run through a utility that compresses all the whitespace out of it, making it one long line. Kate absolutely crawls when opening such a file, especially if the resulting javascript is a 156K-long one-liner, like you get compressing TinyMCE’s code. I’ll try to send you the file I’m using and see what you think.

That needs to be fixed in Qt, Sun, 02/21/2010 - 14:31 — Milian Wolff

That needs to be fixed in Qt, I reported a bug there:

http://bugreports.qt.nokia.com/browse/QTBUG-8389

Hi Milian, please have a look Wed, 02/17/2010 - 20:25 — Eike Hein (not verified)

Hi Milian, please have a look at this case: https://bugs.kde.org/show_bug.cgi?id=170322

It’s fast for me, what kind Thu, 02/18/2010 - 01:47 — Milian Wolff

It’s fast for me, what kind of highlighting do you use? What GPU? Here I’m using a laptop with an onboard intel…

Post new comment

  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options