Open AlexStox opened 3 years ago
Hey @AlexStox, thanks for reporting. What we categorize as "special comments" are simply comments that start with four dashes (as you found out).
However, we could include annotation comments as well. @andfoy, what do you think about this?
well, actually as I mentioned, it's possible to include them both into the Outline using the format:
# ---- # TODO sometext
Maybe it's better to add a list of TODOs and likewise notes as a list to Outline? As additional checkbox - it's great from navigation and quick access point of view, when I can see them all and go there (no need to click the top menu)
We could definitely add special comments to the symbols request, while also adding them to a new linting call in pyls-spyder
Problem Description
I don't understand, are there different purposes for "annotations" and "comments"?
"Annotations" (
# TODO
,# !!!
,# ???
, etc.) are available only via Header menu -> Source -> Show todo list. While "Comments" (# ---- whatever text here
) are shown in Outline pane.I found the way how to combine them together:
# ---- # TODO sometext
- in this case it will be available as a comment in Outline and as an annotation in Show todo list.The major issue is I can't simply make any annotation to see it in Outline, as well as if I make a "comment", it won't be available in Show todo list.
What steps reproduce the problem?
Make any annotation in the Editor code:
# TODO I should do this
On Outline pane in Options menu check the box "Show special comments"
You won't see the annotation in the Outline list
Make any comment in the Editor code:
# ---- I comment on this
On Outline pane in Options menu check the box "Show special comments"
You can see the comment in the Outline list
But you won't see the comment in Header menu -> Source -> Show todo list
What is the expected output? What do you see instead?
I would like to see comments in the Show todo list as well as to see annotations in the Outline list
Versions
Dependencies