roysuman / texmaker

Automatically exported from code.google.com/p/texmaker
0 stars 0 forks source link

automatic Todo-List from Comments %Todo #391

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to show a little Todo list that shows every line in code that 
starts with %TODO?
On click in list you could go to the code line.
So one would have a wonderfull simple todo list espacially for the document you 
are working on.

Regards
Michael Grünwaldt

p.s. thank you for your good work

Original issue reported on code.google.com by gruenwa...@gmail.com on 23 Oct 2011 at 5:22

GoogleCodeExporter commented 8 years ago
Great idea, kind of like eclipse yeah? My suggestion: put this 'todo list' 
below the structure view, which takes up too much vertical space now. 

Original comment by karasevpa@gmail.com on 22 Dec 2011 at 7:11

GoogleCodeExporter commented 8 years ago
Have a look at "todonotes" package from ctan. Maybe this is something for you.

Original comment by klees.ma...@gmail.com on 19 Jan 2012 at 9:52

GoogleCodeExporter commented 8 years ago
Todonotes in ctan:  no, this misses the point. The point is that texmaker 
should do it. 1, there is a lot of empty space in the outline view where it 
fits, and 2, I don't want to look at the pdf todo and then hunt for the 
associated spot in tex. 

Original comment by karasevpa@gmail.com on 19 Jan 2012 at 3:03

GoogleCodeExporter commented 8 years ago
Ok.

But as workaround, that's not to be sneezed at. You can improve your workflow 
by using synctex and the \listoftodos. No more hunting!

Original comment by klees.ma...@gmail.com on 19 Jan 2012 at 3:13

GoogleCodeExporter commented 8 years ago
I'm not sneezing, I am shaking my head at an over-engineered solution. Consider 
this- if the "todo" is trivially assigned to a section/detail of the paper, 
then I may as well just do it right then and there instead of cluttering the 
margins of the pdf with links. The "TODO", for me anyway, is when the item is 
more abstract and doesn't necessarily attach to some underlined section of 
text. 

The workaround now is to just write "%TODO", then do file-search. I just think 
texmaker could do this very easily because it already auto-parses the \section 
, \subsection, etc tags and puts them into the outline view. Just add another 
pane like that with todo's and/or custom tags. 

Original comment by karasevpa@gmail.com on 19 Jan 2012 at 3:45

GoogleCodeExporter commented 8 years ago
However, I do like the 'todonotes' as a way to give *someone else* edit notes 
on their paper ( I'm about to do that now, thanks for the tip). Just not so 
much for myself, because the notes can be very abstract in this case and don't 
need to be in the pdf. 

Original comment by karasevpa@gmail.com on 19 Jan 2012 at 3:46

GoogleCodeExporter commented 8 years ago
@2
Thank you for this suggestion. For ME its at least 75% on my way from my 
current solution. And i have just convertet my first with braces marked Todos 
with \todo. And have a \todolist at the beginning of my document. From there i 
have an overview: 50% . Then i click on the generated link and jump to the 
location of the note. Then make a ctrl+click on the TODO Item and Texmaker 
jumps to the source-location. Another 25%. :)

I have 2 "types" of Todos
one is more an internal comment that should not be in the document anyway
maybe something to do it later
i would like to use %TODO and be shown in outline but not in document

the second type could be \todo[inline]{} which shall be in document like 
catchwords to fill spaces with thoughts and they, instead of first type, will 
be turned to real text before first release of the document

When now, both types would be outlined in texmaker it would be a GREAT function 
for the workflow! (at least for me :)

If so, you could use %TODO and \todo items that are in source for workflow 
optimization independent from the IDE. And for those like invisible TODOs: use 
%TODO others use \todo and others maybe use both.

Regards
Michael Grünwaldt

Original comment by gruenwa...@gmail.com on 19 Jan 2012 at 7:11

GoogleCodeExporter commented 8 years ago
I also think this would be a great enhancement - I recently switched from kile 
to texmaker for practical reasons and it is exactly that feature that I miss 
greatly.

Original comment by emilia.e...@gmail.com on 30 Apr 2014 at 12:15