pylance-release icon indicating copy to clipboard operation
pylance-release copied to clipboard

Document highlighting doesn't work in notebooks

Open rchiodo opened this issue 11 months ago • 2 comments

Open the notebook in the pylance-release/testing/single folder

Scroll down to the highlight test and stick the cursor in the __init__ function:

image

It should be highlighting like the source file does:

image

rchiodo avatar Mar 28 '24 20:03 rchiodo

Could be the same issue as https://github.com/microsoft/pylance-release/issues/5524

StellaHuang95 avatar Mar 28 '24 20:03 StellaHuang95

Also in a notebook it seems to be doing string matching: image

As opposed to what happens in a .py file: image

debonte avatar Mar 28 '24 21:03 debonte