microsoft / vscode-jupyter

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

Cannot use "Drop Into Editor" in jupyter notebook #15839

Closed ProcedureOriented closed 4 weeks ago

ProcedureOriented commented 1 month ago

Applies To

What happened?

Nothing happens when I drag a file from side bar into an open jupyter notebook editor with holding 'shift' key. It used to show a dashed cursor and place the relative path after dropping the file. But now it is not showing and working. I can just see the dashed cursor blink once when holding shift key, then disappear.

Screen Shot 2024-07-10 at 15 37 42

I guess it may have a conflict with VS Code's new feature "Editor › Drop Into Editor: Show Drop Selector"? not sure.

Btw it always not works in interactive window, it will help if "Drop Into Editor" can be used in interactive window.

VS Code Version

Version: 1.91.0 Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286 Date: 2024-07-01T18:53:23.353Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 21.6.0

Jupyter Extension Version

v2024.6.0

Jupyter logs

No response

Coding Language and Runtime Version

Python 3.12.4

Language Extension Version (if applicable)

Python Extension v2024.10.0

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

ProcedureOriented commented 1 month ago

I have compared some combinations about VSCode and Jupyter Extension on my two Macs: VSCode 1.90.1 with Jupyter Extension 2024.5.0: works VSCode 1.91.0 with Jupyter Extension 2024.5.0: not works VSCode 1.91.0 with Jupyter Extension 2024.6.0: not works

while Windows VSCode 1.91.0 with Jupyter Extension 2024.6.0 works. I don't know whether the issue should report to vscode?

amunger commented 1 month ago

Can you update and try again? this works for me in 1.92 and 1.92 insiders.

vs-code-engineering[bot] commented 4 weeks ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!