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

Code lens shows on every import in Python #331

Closed
lrots opened this issue Apr 3, 2018 · 5 comments
Closed

Code lens shows on every import in Python #331

lrots opened this issue Apr 3, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@lrots
Copy link

lrots commented Apr 3, 2018

image

  • GitLens Version: 8.2
  • VSCode Version: 1.21.1
  • OS Version: Linux Mint 18.3 Sylvia

Steps to Reproduce:

  1. Create new Python file
  2. Insert following code:
    #!/bin/python

import os
import threading

def test():
pass

test()
3. First commit
4. Add some code
import time
5. Second commit

@felocru
Copy link

felocru commented Apr 3, 2018

I have the same problem, I see exactly the same message on each line.
Will there be any option to avoid duplicate messages? Only appear once:
"You, a few seconds ago"
image

@felocru
Copy link

felocru commented Apr 3, 2018

I deactivated the option: "Containers scope -- added at the start of modules, classes, interfaces, etc".
And now it is better appreciated.
image

@eamodio
Copy link
Member

eamodio commented Apr 3, 2018

@LambiekNL @felocru Can one of you try setting "gitlens.debug": true and then send a screen shot of those code lens above the imports? That will give the type of symbol of that type and it can be turned off directly (I can also add it into the default set to ignore as well).

@eamodio eamodio added the bug Something isn't working label Apr 3, 2018
@lrots
Copy link
Author

lrots commented Apr 4, 2018

@eamodio Sure:

image

@eamodio eamodio added this to the Soon™ milestone Apr 11, 2018
@eamodio eamodio changed the title gitlens shows commit status on every import in Python Code lens shows on every import in Python Apr 11, 2018
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants