FIXME, TODO, and other notes in Qt Creator
-
Hi there.
I created a plugin that displays comments for //FIXME blabla //TODO etc.
The Keywords are configurable.
At the moment I am checking if it is ok for my company to let me make the code public. Until then you can head over to the "Plugin Gallery":http://developer.qt.nokia.com/wiki/Qt_Creator_Plug-in_Gallery in the Wiki (section "display todo / fixme etc. comments") to check it out.
"Screenshot":http://lists.trolltech.com/pipermail/qt-creator/attachments/20100709/46893085/attachment-0001.png
-
At the moment you cannot download it anywhere. I have to wait for the clearance of my boss to make it available to the public. I think I know more in the next few days. If my boss decides that it is ok I will put the sources online soon.
-
Markus: Any news from the boss-front yet?
-
Tobias, is there something not good for you at Vass' plugin? Or you just want to look at alternative?
-
No, I am just trying to stay up to date... I just noticed though that Markus said in the thread about Vass' plugin that he can not release his code due to company policy:-/
-
I've always just Ctrl+F'ed for them or had syntax highlighting making them red so perhaps I'm missing something.
I've never thought of having it appear in the Build warnings. But, I don't understand why this is better exactly. Having them appear when you build that is.
Why not have a separate window that shows TODOs/FIXMEs. Then if you're looking for something to do, you can jump in to this. -
xsacha, just look at it from this angle:
Pane you've called "build messages" one can call "issues" and it contains build issues (from compiler) and code issues (from FIXME, TODO, etc.). -
xsacha, I'm agreed with you. It is just a feature to show them as part of issues. If you lok at Vass' plgin there is a setting that allows you to choose between issues and separate list of todos.
-
xsacha, no, Vass' plugin is at gitorious. You can find it "here":http://gitorious.org/qt-creator-todo-plugin/qt-creator-todo-plugin
-
I liked this feature the last time I used KDevelop. Is quite usueful for example, for people who are not used to the codebase, but what to help (Junior Jobs for example). A newbie can simply open the project, and in some place of the UI he/she can find a list of places that need help, without having to use find&grep.
Thanks for reporting the bug.
-
This kind of stuff is VERY useful IMHO.
-
+1
I am also keen on the TODO list in Eclipse. I have not seen such feature so far in Qt Creator and hope to see it available soon. Please give me a hint if it is already available but I am missing it :)
10x,
Leon -
leon.anavi, there are some features that you miss in Vass' plugin? If yes you can contact him, he is here on DevNet.
-
/me uses the tasklist plugin for this kind of functionality.
I have a script that extracts all the lines that changed compared to what is in git on the server, extracts stuff from those lines, calculates line numbers and turns the whole thing into a .tasks file.
That file can be opened from Qt Creator and its contents does show up in the Build Issues pane. Updating the file (via script every couple of minutes) causes the list inside Qt Creator to refresh.
I actually prefer this approach as it shows the TODOs and FIXMEs (and some other issues) I introduced into the code, not the lots of others that were there already:-)
The script I use is available as scripts/mytasks.pl in the Qt Creator repo.
-
[quote author="Denis Kormalev" date="1304979454"]leon.anavi, there are some features that you miss in Vass' plugin? If yes you can contact him, he is here on DevNet.[/quote]
The main problem I have with it, is that I can't get it to actually work. I managed to compile it with big effort (I did not want to compile all of Qt Creator myself; that also ran into problems for me), but I still run into errors:
@
Could not resolve dependency 'Core(2.1.81)'
Could not resolve dependency 'ProjectExplorer(2.1.81)'
Could not resolve dependency 'TextEditor(2.1.81)'
@We really need an easier way to get plugins running in Qt Creator...