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

Line numbers not aligned #16150

Open e-vissch opened 1 month ago

e-vissch commented 1 month ago

Applies To

What happened?

Can see in image that the line numbers do not align with the error, can see this then leads to incorrect underlining with error message in next image.

I also tried switching to the latest release version with same problem. The issue goes away if there is text in the first line.

Image

Image

VS Code Version

Version: 1.94.2 Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427 Date: 2024-10-09T16:08:44.566Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.1.0

Jupyter Extension Version

v2024.11.2024102401 (pre-release)

Jupyter logs

No response

Coding Language and Runtime Version

Python 3.10

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

None