Search code examples
visual-studio-codecellhighlightspyder

How to highlight cells in vscode?


Hello,

I have been using vscode (Visual Studio Code) text editor for couple of days. I have come from Spyder IDE for python. I am developing a great likeness towards vscode. It encompasses all of my needs to python programming with also being lightweight.

However, one thing that I am missing and wish it were here in vscode is cell highlighting. Though the editor has feature to segment the code into several cells by typing # %% before a block, it lacks the feature to highlight the cell where mouse pointer is hovered on.

Maybe, there is an option there in settings.json but i don't know where it is in particular. Though it is not a great lack or causes major issues but i like to enable this feature in my vscode editor.

Below pictures illustrate my point. cell highlighting absent in vscode enter image description here

Previous image is the visual studio code editor and the below one is for Spyder IDE.


Solution

  • It seems it is supported now.
    Bellow there's a screenshot for the current version of VSCode using Microsoft's Python extension.

    enter image description here

    If this answers the question, please, inform as answer.