Skip to content

Developers 

Code Folding Updates

Sunday, 31 July 2011  | Dominik Haumann | Tags:  planet
As you may know the Kate code folding implementation gets some love these days. The last days, several bug fixes dropped in by our GSoC student. And the good news is that if all works well, we’ll be able to backport these fixes so that the code folding is much more robust in our beloved Kate even in KDE 4.7.x. These changes probably fix several crashes that were around since 2005 as well. I believe the word we’re looking for is: owned! :-) Read More

Kate Vi Input Mode – GSoC 2011

Tuesday, 26 July 2011  | Svyatoslav Kuzmich | Tags:  planet

I want to introduce you my GSoC-2011 project. I was working on improvement the vi input mode for the Kate part.

There are a lot of improvements for normal mode. Now it’s able to use jump list by pressing ctrl-i/ctrl-o in normal mode like in vim. And now not only registers but also marks, and jumps stored in the config of the session. H, M and L commands moves cursor to the first(Home), Middle and Last line of the screen. To go to the any percent of the document you can use the % command by typing the number of percent(1-100) before it. gk and gj motions will make you able to go visual(display) lines up and down. It’s useful when you using line wrap.

Read More

GSoC 2011 – Kate Code Folding – (Try Kate’s new code folding)

Sunday, 24 July 2011  | Adrian Lungu

Hi everyone!

Kate’s new code folding was merged with the master branch. :)
You can try it by yourself. If you do find any bugs, please send a bug report on KDE’s bug tracker or leave a comment here.
I will use a test unit to solve those bugs, so I will need a full backtrace and some info to help me replicate it.
Please notice that there are no new features added yet – just the basic code folding.

Read More

Kate Modeline Editor

Saturday, 23 July 2011  | Dominik Haumann | Tags:  planet
As you may know, Kate supports the concept of document variables, also known as modelines. In short, document variables can be used to set Kate settings local to a file. For instance, this is useful for settings specific indenter options than the ones defined in Kate’s settings dialog. Assume you work on two projects, the first indents with spaces and the second with tabs, then you can simply add a modeline that contains the specific document variables that set the specific indentation properties. Read More

GSoC 2011 – Kate Code Folding – week 5 (New Code Folding is taking shape)

Wednesday, 13 July 2011  | Adrian Lungu

Hey!

The new code folding is taking shape. Actually it is implemented. :)
The next step will be testing it (and debugging, if necessary) and implementing some new features.
Also there are some keyboard shortcuts that didn’t worked so well on the previous version and they need to be fixed too.

If you want to help us with the testing, you can download my clone and play a little with code folding. Also, if you have some ideas about the new features that Kate’s folding should have, let me know. If it is possible and there is time, they will be implemented.
Greetings,
Adrian

Read More

Kate in KDE 4.7

Saturday, 9 July 2011  | Dominik Haumann | Tags:  planet

Now that the next version of the KDE platform is branched, it’s time to have a look at all the changes in Kate in KDE 4.7.

Current State of Kate

Read More

GSoC 2011 – Kate Code Folding – week 4 (Integrating the folding algorithm)

Monday, 4 July 2011  | Adrian Lungu

Hi!

I bring good news about Kate’s folding today. The algorithm was implemented and tested successfully. ;)
As I mentioned in the previous article, I implemented it in a new (simpler) project. It is a Qt project (developed using Qt Creator) and you can find it in my Kate clone, “tree_alg” folder.

Actually, I have implemented two folding algorithms: one that uses a tree that changes itself dynamically whenever you insert or delete a node, and one based on stack that rebuilds the entire folding tree whenever you insert or delete a node. I needed two algorithms because I wanted to implement an automatic testing mechanism and for that I needed a way to test the output. The second algorithm was easier to be implemented and it was very stable (bug-less) from the beginning, so it was great to use it for my testing.

Read More

Kate plugin updates part 3

Tuesday, 28 June 2011  | Kåre Särs | Tags:  planet
Well I’m not sure this really qualifies as an update, because it is actually a new plugin. And the plugin I’m talking about is the Search plugin. This is going to be mostly a series of screen-shots.
The first shot contains the “new” feature differentiating itself from the other one. You can now select to search in the currently open files. This is especially good if you are working on files on a remote server. Read More

Bug Squashing

Saturday, 25 June 2011  | Dominik Haumann | Tags:  planet

We’ve managed to push our bugs down from ~430 to ~310 during the last two days. Some bugs are not valid anymore, but lots of bugs also really have been fixed. So in KDE 4.7 we will have the best Kate release ever :-)

Going to Desktop Summit 2011

GSoC 2011 – Kate Code Folding – week 3 (Folding algorithm started)

Friday, 24 June 2011  | Adrian Lungu

Hello guys!

I’m writing my weekly article today because I have already started working on something else. I didn’t have time to finish the previous stage because I started the next phase of the project.

I had a talk with my GSoC mentor and a couple of Kate developers and we all concluded that I should start working on the folding algorithm as soon as possible because this is the main (and most important) part. For this part, I built a small new project that will help me implement the algorithm and test it independently from Kate project. You can find this project (and my Kate clone) at this address. There are not so many methods implemented, but you can figure out how things will be developed.

Read More