有没有办法阻止 Eclipse 在每次重新启动 GAE 应用程序时生成新的运行配置?
通常,我会通过右键单击该项目来重新启动我的 GAE 应用程序,然后选择 Pydev: Google App-Engine Run。
我注意到,每次执行此操作时,它都会生成一个新的运行配置,即使没有发生太大变化。经过几天的工作,可以创建一大堆这些无用的配置对象。这很烦人,不仅因为混乱,还因为我放入第一个运行配置中的任何设置都不会转移到后续创建的配置中。
我找到了一种解决方法,即我可以通过“通用”选项卡(屏幕顶部的绿色圆圈播放按钮)将其添加到运行菜单中。
我更愿意找到一种方法来阻止 Eclipse 在回收项目时不必要地生成新的运行配置。更好的是热键重新启动的方法(例如按F9)。有人可以建议一种方法来删除我的 IDE 中的这个讨厌的功能吗?
仅供参考,我正在 Windows 32 位上使用最新的 Eclipse。
Normally I restart my GAE application by right-clicking on the project and then I choose Pydev: Google App-Engine Run.
I've noticed that every time I do this it generates a new run-configuration even though nothing much has changed. Over a few days of work a whole bunch of these useless configuration objects could be created. It's annoying not just because of the clutter but also because any settings I put into the first run-configuration do not get carried forwards into the subsequently created configurations.
I found one work-around which is that I can add it to the run-menu via the "common" tab (the green circle play-button at the top of the screen).
I'd prefer to find a way to stop Eclipse needlessly generating a new run-configuration when I recycle the project. Even better would be a method to hot-key restart (e.g. pressing F9). Can anybody suggest a way of removing this nuisance feature of my IDE?
FYI, I'm using the very latest Eclipse on Windows 32bit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
运行实际上会创建一个新的运行配置...只需删除您拥有的一堆配置,运行一次并编辑该配置即可。
稍后(如果您按照 http://pydev.org/manual_101_run.html 上的建议配置 Ctrl+ F11 始终重新启动上次启动),您应该能够使用 Ctrl+F11 重新运行上次完成的启动(或从菜单中选择:运行 > 运行历史记录 > 以前的启动:可以访问通过 Alt+R、T、配置数量)。
The run as will really create a new run configuration... Just erase the bunch of configurations you have, run it once and edit that one.
Later ( if you followed the suggestion on http://pydev.org/manual_101_run.html to configure Ctrl+F11 to always relaunch last launch ), you should be able to Ctrl+F11 to rerun the last launch done (or choose it from the menu: run > run history > previous launches: can be accessed through Alt+R, T, number of config).