pycharm怎么打开python shell-如何在PyCharm运行配置中运行shell脚本而不是python?
如果您想在PyCharm中看到这样的功能,请投票支持
IDEA-112256
"Command Line’ Run Configuration功能要求.
Pycharm在线帮助的Run/Debug Configurations部分列出了所有支持的运行/调试配置类型,并且不支持shell脚本.
但是,您可以通过安装插件来添加此类支持.例如,如果您对bash脚本感兴趣,则会在运行/调试配置中添加支持运行shell脚本的BashSupport插件.
从插件的主页:
BashSupports can directly run scripts within IntelliJ. You can create
a new run configuration for Bash scripts. Here you can set which
interpreter is used to run it. Whenever a script is executed the
output is logged. If Bash prints out syntax errors then the errorneous
lines are clickable to jump to the location of the error.
对于Windows,有CmdSupport插件提供了运行.cmd脚本的操作.它似乎不支持运行这样的脚本,如运行/调试配置.
(…) provides a way to use run configurations as buttons on toolbar. Or assign shortcuts to execute specific run configuration.
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)