Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behavior for Spyder code annotations #6520

Closed
apdcode opened this issue Feb 26, 2018 · 4 comments
Closed

Strange behavior for Spyder code annotations #6520

apdcode opened this issue Feb 26, 2018 · 4 comments
Assignees
Milestone

Comments

@apdcode
Copy link

apdcode commented Feb 26, 2018

Problem Description

Using comments such as #TIPS and #HINTS will render a blue checkmark in the Spyder IDE. If you go to Tools|Editor|Code Introspection/Analysis and activate Code Annotations (TODO, FIXME, XXX, HINT, TIP...), those keywords do not seem to trigger any effect in the SPyder IDE at all.

What steps will reproduce the problem?

  1. Go to Tools|Editor|Code Introspection/Analysis
  2. Activate Code Annotations (TODO, FIXME, XXX, HINT, TIP...)
  3. No blue checkmarks activated.

What is the expected output? What do you see instead?

Covered in the Problem Description.

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Package Versions

  • Spyder: 3.2.5
  • Python: 3.6.0
  • Qt:
  • PyQt:
  • Operating System: Windows

Dependencies

PASTE DEPENDENCIES HERE
@ccordoba12 ccordoba12 added this to the v3.2.8 milestone Feb 26, 2018
@ccordoba12
Copy link
Member

Thanks for reporting. We'll take a loot at this for 3.2.8

@ccordoba12 ccordoba12 modified the milestones: v3.2.8, v3.2.9 Mar 3, 2018
@csabella
Copy link
Contributor

csabella commented Mar 7, 2018

Can you give more of an example of what you are entering in order to get the blue checkmark? For example, I noticed that

# XXX

does not give a checkmark, but

# XXX - come back later

does. I think the code checks that the comment has more text on the line than just the TODO, FIXME, etc.

@csabella csabella self-assigned this Mar 8, 2018
@ccordoba12 ccordoba12 modified the milestones: v3.2.9, v3.2.8 Mar 8, 2018
@apdcode
Copy link
Author

apdcode commented Mar 9, 2018 via email

@csabella
Copy link
Contributor

csabella commented Mar 9, 2018

@apdcode It was closed because I submitted a patch for it. The only time I was not getting the checkmarks was when the line had a # TODO or other todo-type word that wasn't followed by any other text. So, I made a change to look for missing text and default it to the TODO word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants