是否可以让 VSCode 打开自定义 python repl 而不是基本 repl?

问题描述

在 python 文件中,我可以 Shift+Enter 在 repl 中运行一些 python 代码。 VSCode 使用选定的解释器的 repl。是否可以运行自定义命令?例如,我想像这样进入 Django 的 repl:

python3 manage.py shell # Maybe python3 should actually be the selected interpreter

VSCode 中是否有设置可以让您选择此命令?我找不到。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)