I know, I'm a bit late with this weekly report, but I had 2 exams in the past week and I preferred waiting one more day and finish the tasks I proposed to myself this week, rather than posting a half-empty report. The good news is that I have just one more exam, so no more whining from me about my exams soon :).
As I said last week, I proposed to myself to make a basic Snippets Browser to show the database and implement the GUI prototype which I shown in my last weekly report (#4). Shocking enough, but I managed to pull off those 2 tasks (not mentioning the fact that I had to rewrite the TreeModel for the Snippets Database 2 times this week).
Anjuta Snippets Plugin - weekly report #4
So it's time for my forth weekly report. This is what I managed to do this week:
- Done the trigger-key based insertion (at the moment it's Ctrl+E to insert the snippet, and the trigger-key considered is the word before the current position of the cursor -- similar to the way the Gedit Snippets insertion work). The shortcut for this will be configurable by the user.
- Changed the file format and internal functions to make it possible for snippets to be common for more languages (considering most snippets from C will be found in C++ also). This was actually something I should have done from the start, but bad planning made me edit almost every single file, so I can add this feature.
- Ported the macros which were used by the Macro Plugin to snippets used by my plugin.
- Wrote some functions that will be used when making the snippets dynamic (and I actually have a plan for using them).
- Reviewed a lot of my code until this point and changed even more :-). This means fixing some memory problems (and a very serious one which I didn't noticed until this point) or just rewriting some portions of code which were a mess.
Anjuta Snippets Plugin - weekly report #3
Before I start, I should note that the weekly report #2 is missing from my blog because the last week I haven't done that much due to an exam, but if you are curious you can see it here. As of this week, a good part of the back-end is done, though I only managed to code just the last 3 days once I was done with my exam. This is also my first major weekly report since I made a lot of changes and I have some results which are actually visible. Also, I managed to implement more stuff than what I proposed for myself this week.
Subscribe to:
Posts (Atom)