在Eclipse中重新启动时,自动终止先前运行的Python解释 [英] Automatically Terminating Previously Running Python Interprets when Relaunching in Eclipse

查看:643
本文介绍了在Eclipse中重新启动时,自动终止先前运行的Python解释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个Eclipse插件Pydev的选项,这将导致Pydev在启动新的python实例时自动终止任何已经运行的python实例?

Is there an option for the Eclipse plugin Pydev which would cause Pydev to automatically terminate any already running python instances when a new python instance is launched?

有一个选项 - >运行/调试 - >常规选项 - >创建新的启动时删除终止的启动

There is an option in Preferences --> Run/Debug --> General Options --> Remove terminated launches when new launches are created

我需要一个类型为

推荐答案

排序...

您可以执行以下操作:定期启动并查看PyDev控制台中的按钮。有终止所有启动的选项,并重新启动最后一个启动终止当前的启动 - 如果您将鼠标悬停在按钮上,则会显示快捷方式:

you can do the following: do a regular launch and take a look at the buttons in the PyDev console. There are options to terminate all launches, and to relaunch the last launch terminating the current one -- the shortcuts appear if you hover over the buttons:

所以(如果你有专注于PyDev编辑器):

So (provided you have focus on a PyDev editor):


  • 终止所有启动:Ctrl + Alt + F9

  • 终止当前并重新启动它:Ctrl + Shift + F9

不完全是你想要的,但我认为这是现在越接近。 ..

Not exactly what you want, but I think it's the closer it gets right now...

这篇关于在Eclipse中重新启动时,自动终止先前运行的Python解释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆