As far as I understand currently comments beginning with %TODO or %todo will be marked green in the editor and added to the TODO lists in the structure view.
I like to use the todonotes package, which adds the commands \todo{...} and \missingfigure{...}. See http://www.ctan.org/tex-archive/macros/latex/contrib/todonotes/
Is it possible to include these todo notes in the structure view lists as well?
Anonymous
Oh yea, I miss that feature, too.
I was missing it too. Here is a patch to make it work.
Thanks. I've applied the patch (hg 4439 (4350bc95d37a)). However, I did two changes:
In the long run, one might perform the highlighting via the internal highlighter which can find the matching brace. This would also remove the hard-coding of the commands which are highlighted.
hg 6075 (f08956f3edf3):
Improved highlighting: highlighting stops at the correct curly brace up to an inner brace nesting level of 2.
Hi,
I've used Texstudio (dunno which version) on my old desktop, and it listed the \todos.
Nowadays I'm using it on different machines (don't have access to my old desktop anymore) and even upgraded to version 2.9 and now to 2.11.2 but I don't see the \todo{} listed in the sidebar.
Is this feature gone? Do I have to manually apply that patch?
Cheers,
Martin
this has been fixed
In which version? I'm having the latest version for Ubuntu 14.04 and as you can see in the screenshot, the \todo{} is not shown in the structure view while the %todo is.
In the development branch. See my post below.
The todo-mechanism has been reworked in the current development branch. See [bugs:#1937]. Everything should work now.
I've you want, you can download the latest development snapshot:
https://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20development/texstudio-2.11.3-dev-hg6281-win-qt5.6.2.exe/download
Related
Bugs:
#1937Does this work in the current 2.12.10 version on windows? Can i add custom \todo comands i have in my preambel?
Yes, that should do.