Automatically Terminating Previously Running Python Interprets when Relaunching in Eclipse

你离开我真会死。 提交于 2019-12-08 12:28:43

问题


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

I would need an option of the type: "Terminate and Remove all launches when new launches are created"


回答1:


Sort of...

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:

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

  • terminate all launches: Ctrl+Alt+F9
  • terminate current and relaunch it: Ctrl+Shift+F9

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



来源:https://stackoverflow.com/questions/8818097/automatically-terminating-previously-running-python-interprets-when-relaunching

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!