I went editor hunting again today. Lame, but I can’t help doing it time to time. My main editor is Kate for some time now. I use Pâté´s source browser when I am editing Python files. This is all fine for me. I love Kate. A multi-document editor and simple source inspection to jump through within the current file is all I need. But it gets hung. Depending on uptime it freezes up to ten seconds. This is sad.
A few days back I have installed SPE. All in all, it is a nice Python oriented editor1. I have had a good experience with it working on my main project. But when I tried to switch to my side project today, it did something amazingly stupid. When you change the workspace it fails to close currently opened files, and then adds them to the other workspace. Well, maybe it was me being amazingly stupid failing to figure out how to disable this feature. But this is unacceptable behaviour nevertheless.
I tried (again) eric after that. This time I didn’t panic when I saw an IDE style GUI on my screen. Eric should have done the job as well. I could have forgiven it not letting me customize the toolbars2… But it doesn’t show a static word wrap marker3! How can an editor feature dynamic word wrapping but could be unable to show a static word wrap marker?
When I was searching for something else, I had stumbled upon4 an e-mail message about KDevelop´s Class Browser. Did I ever mention that my searching skill is pathetic? It is. Anyway, I decided to try it out. So far so good. The class browser is not designed with Python in mind. But it is better than nothing. And the best news is the editor component is a KatePart. I’ll use KDevelop for programming and continue using Kate for other text editing, such as this one. We’ll see how it goes.
Conventions: A Necessary Evil?
OK, conventions are not evil at all. I have a bad habit of doing the opposite of what is dictated. It would be good thing if I had stopped and made an assessment. I should change from reactive to forethoughtful. Regardless, conventions from smart people are usually the right stuff.
For a long time I have been thinking; “why should I manually break lines, in this modern age of dynamic word wrapping” until I edited a configuration file on my server with Nano and spent two hours after, trying to find out why it wasn’t working. PEP8 says “Limit all lines to a maximum of 79 characters.“, do it. Because you can find yourself in a situation where you have to do without dynamic word wrapping and get your line breaks all messed up. Also, if you haven’t already done that; I would suggest you to take some time to read PEP8 and PEP257.
Another set of conventions I am interested in are Django conventions. I am in the process of splitting apps in my main project. I wasn’t planning a monolytic project in the beginning. But those two apps just got bigger and bigger and uglier… Now, as you can imagine; it is a painful process making them several smaller applications.
Why Am I Neglecting My Blog Lately
This main project I have been talking about from the beginning of this post is online now. You can visit here; Evdenevenaklederiz.biz (in Turkish). It is a simple tool for helping you find a mover. Critics and comments are very much appreciated.
I will be blogging regularly again soon. 3~5 posts per month is acceptable for me. Especially if at least one of them has some valuable information in it. I am not very ambitious about blogging.
Since this turned out to be more like a status update I should mention one last thing; my diet is finished last week. Currently I am 77 kgs, less than 15% fat. I am very happy with the results. For now my goal is to stay below 80 kgs, and focus on work.
1: Read: pretty much useless for anything other than Python.
2: Appereantly a newer version allows you to hide the toolbars.
3: You know that vertical line marking the 79th (or 80th) column.
4: No, not that stumbling upon.