microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

Notebook cell hides last line when cell has certain number of lines #16215

Open imadjarov-quantinuum opened 1 week ago

imadjarov-quantinuum commented 1 week ago

Applies To

What happened?

If a notebook cell has a certain number of lines, the last line becomes partially hidden, like this: Image

Whereas any other number of lines is fine: Image

This number appears to be randomly decided when the notebook is created but is consistent between cells within a notebook, and is usually close to 30 lines.

To recreate: 1) Open a new Jupyter notebook 2) Type something in a code cell 3) Insert empty lines before that something until that something becomes partially hidden, like the picture above

I see this behavior both on local Windows instance and via Remote - SSH to a Linux server.

VS Code Version

1.95.1

Jupyter Extension Version

2024.10.0

Jupyter logs

Visual Studio Code (1.95.1, ssh-remote, desktop)
Jupyter Extension Version: 2024.10.0.
Python Extension Version: 2024.18.1.
Pylance Extension Version: 2024.9.2.
Platform: linux (x64).
Temp Storage folder ~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.10.0
No workspace folder opened.
14:54:12.870 [warn] No interpreter with path /bin/bash found in Python API, will convert Uri path to string as Id /bin/bash

Coding Language and Runtime Version

Python

Language Extension Version (if applicable)

2024.18.1

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

None