簡體   English   中英

在不同的 Window 中打開 Python 交互式選項卡

[英]Opening Python Interactive Tab in different Window

我希望將在 VSC 中運行 jupyter 單元時彈出的“交互式 - #1”選項卡移動到新的 window 但無法(用於第二個監視器)。 如果我打開一個新的 window 並將選項卡拖到其中,則 GUI 會發生變化,就像它會接受選項卡一樣,但是在釋放單擊后選項卡無法傳輸,就好像沒有提示一樣。

I also tried per the Jupyter instructions on VSC to open an interactive window independently and then return to my python file and " use the Jupyter: Run Current File in Python Interactive Window command from the Command Palette ", however, this always opens a new Interactive window 中的選項卡它當前存在,但仍不可轉讓。

有人知道怎么做嗎?

我是提供交互式 Window 的 Jupyter 擴展的開發人員。 交互式 window 由托管 webview 和筆記本界面的自定義編輯器支持。 與源文件不同,它有大量的支持數據和與主機 VS Code 進程的連接。 所以我們不支持這種拖拽到新的VS Code window的操作。 您必須在新的 VS Code window 實例中實際運行交互式 window。 對於那個很抱歉。 如果您願意,可以在我們的 github 頁面上將此作為增強請求提交: https://github.com/microsoft/vscode-jupyter/issues

只需打開設置頁面(文件 > 首選項 > 設置),搜索“交互式 window 模式”並將設置值更改為“perFile. ' 現在,當您運行來自不同文件的單元格時,它們將分別在各自獨立的 window 上運行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM