当前位置:   article > 正文

pycharm怎么打开python shell-如何在PyCharm运行配置中运行shell脚本而不是python?

pycharm怎么调出idle shell

如果您想在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.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/331793?site
推荐阅读
相关标签
  

闽ICP备14008679号