question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code lens for python plugin in vscode disappears

See original GitHub issue

Actual behavior

image

Run Cell | Run Above | Debug Cell Code Lens suddenly disappeared.

Expected behavior

image2

Same problems

https://www.reddit.com/r/vscode/comments/dcdjlu/python_test_code_lens_doesnt_appear_above/ https://github.com/Microsoft/vscode-python/issues/1906

What i’ve tried

{
    "editor.codeLens": true,
    "python.dataScience.codeLenses": "python.datascience.runcell,  python.datascience.runallcellsabove, python.datascience.debugcell",
    "python.dataScience.enableCellCodeLens": true,
    "python.dataScience.codeRegularExpression": "^(#\\s*%%|#\\s*\\<codecell\\>|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])",
    "python.dataScience.askForKernelRestart": false,
    "python.dataScience.magicCommandsAsComments": true 
}
  • Delete plugin folder
  • Complete uninstall
  • Reinstall

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Oct 15, 2020

Those errors in powershell can be ignored.

Not sure why I don’t get the same errors about the proposed API as you. I might need to ask VS code about that.

0reactions
greazercommented, Jun 6, 2021

Old bug, closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code lens for python plugin in vscode disappears · Issue #1694
Reload VS code and then repro the problem? Our console debug output should then end up in the 'Python' output tab. I can...
Read more >
GitLens extension disappeared - Stack Overflow
For me the problem was for VS Code 1.51.1 and GitLens 11 they have made the Source Control Layout as default and requires...
Read more >
Python in Visual Studio Code
The extension makes VS Code an excellent Python editor, and works on any operating system with a variety of Python interpreters. It leverages...
Read more >
Visual Studio Code September 2022
In the video below, the GitLens extension File Annotations menu is hidden from the editor tool bar and then restored via Reset Menu....
Read more >
User and Workspace Settings - Visual Studio Code
VS Code says "Unable to write settings."​​ The error can be as simple as a missing comma or incorrect setting value. Open the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found