简体   繁体   English

Visual Studio Code - 具有自动完成功能的 Python 交互式数据科学 REPL

[英]Visual Studio Code - Python interactive data science REPL with autocomplete

Since VS Code supports JupyterNotebooks natively with the Python extension ( https://code.visualstudio.com/docs/python/jupyter-support ) I like to launch the notebooks and see the outputs directly in VS Code.由于 VS Code 通过 Python 扩展 ( https://code.visualstudio.com/docs/python/jupyter-support ) 本机支持 JupyterNotebooks,我喜欢启动笔记本并直接在 VS Code 中查看输出。

The only issue I'm having with this is that the Python Interactive window is not that interactive, it just works to show the output of the cells.我遇到的唯一问题是Python Interactive窗口不是交互式的,它只能显示单元格的输出。

Is there any way to allow autocomplete functionality in that console?有什么方法可以在该控制台中允许自动完成功能吗? Something more like an IPython console where I can hit Tab and see all the available options.更像是IPython控制台,我可以在其中点击Tab并查看所有可用选项。

The answer is that this currently does not exist.答案是目前不存在这种情况。 The input box on the Interactive Windows is basically just a plain text input terminal (with colorization) currently. Interactive Windows 上的输入框目前基本上只是一个纯文本输入终端(带颜色)。 We do have a work item to track adding autocomplete here.我们确实有一个工作项来跟踪在此处添加自动完成功能。 If you want to watch or upvote that item it's located here: https://github.com/Microsoft/vscode-python/issues/4170如果您想观看或投票该项目,它位于此处: https : //github.com/Microsoft/vscode-python/issues/4170

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM