<div dir="ltr">Thanks for your reply.<div><br></div><div>I'll start implementing your notes on the weekend.</div><div><br></div><div>Aviv</div><div><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 5:27 PM, Milian Wolff <span dir="ltr"><<a href="mailto:mail@milianw.de">mail@milianw.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Friday, 2. October 2009 13:37:48 Aviv wrote:<br>
> Hello,<br>
><br>
> I'm Aviv and I'm new to KDevelop development.<br>
><br>
> To start understanding how things work, I developed the attached plugin,<br>
> which adds a to-list for each project, and saves the changes in the<br>
> project file.<br>
><br>
> I'd appreciate your feedbacks!<br>
<br>
</div></div>So, finally got around to test it.<br>
<br>
1) You CMakeLists.txt needs the following stuff prepended so you can properly<br>
build it from outside kdevplatform:<br>
<br>
project(todolist)<br>
<br>
find_package(KDE4 REQUIRED)<br>
<br>
find_package(KDevPlatform REQUIRED)<br>
<br>
include_directories(<br>
    ${KDEVPLATFORM_INCLUDE_DIR}<br>
    ${KDE4_INCLUDES}<br>
    ${CMAKE_CURRENT_BINARY_DIR}<br>
    ${CMAKE_CURRENT_SOURCE_DIR}<br>
)<br>
<br>
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9532 )<br>
...<br>
<br>
The project is optional though afaik good practice.<br>
<br>
2) Remove the value from exec= in your .desktop file, setting it to blablub is<br>
just not correct (though doesn't hurt either) ;-)<br>
<br>
3) The interface can need a bit of work:<br>
- make the list not too wide, I have a horiz. scroll bar<br>
- when selecting an entry and hitting DEL I'd expect the entry to get deleted,<br>
not only it's contents<br>
- context menu (new/delete/set status...)<br>
- filter by status, maybe even search in todo?<br>
- toggling the status by clicking is imo not so nice, maybe just show a little<br>
tooltip with all available stati and let the user select one<br>
- I cannot set the status of the new entry<br>
- new entry always at the top? or with context menu / button so I don't have<br>
to scroll to bottom for a new entry<br>
- sort by status / severity?<br>
<br>
4) Some advanced features I'd personally like to see:<br>
- show TODO from inside the source (we had that already at some point, didn't<br>
we?), maybe create some kind of framework, similar to the problem reporter:<br>
That way we can add TODO's from inside the language plugin (since that one<br>
already parses the files and can report TODOs when it comes across e.g.<br>
#warning or ///TODO stuff). Though maybe we can/should just use the problem<br>
reporter for this, and let the TODO stuff be user-input only? dunno<br>
- let me click URLs in the TODO, that way I can e.g. insert bug-urls, or<br>
pastebins<br>
- let me insert newlines for longer TODOs<br>
<br>
But a good start for now :) Thanks, welcome to KDevelop'ing!<br>
--<br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de">mail@milianw.de</a><br>
<a href="http://milianw.de" target="_blank">http://milianw.de</a><br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div><br></div></div>