赞
踩
如果您想在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.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。