问题描述
一个配置(#1)表示在最前面的编辑器中运行文件的单元测试(即所选资源)。我真的很想能够永远这样做一个键。
另一个配置(#2)意味着运行我正在工作的服务器最重要的项目),所以我可以交互地测试。
另一个(#3)意味着针对服务器运行一些自动验收测试。
我一直想要拥有#1的手头,轻松地从单键击中运行。此外,我想要能够运行#2,在控制台中启动它,当它准备就绪(因为它不是完全是微不足道的,以自动化)打3号键。 p>
这可能类似于,但是这些答案看起来非常具体的构建,并且正在使用,我根本没有构建步骤。
另外,考虑到我使用PyDev,一个 pyedit _ *
也许插件可以使某人更容易处理发射配置。它不允许分配密钥绑定到启动配置当前,但我打开了一个功能请求
I have several launch configurations for the code I work on.
One configuration (#1) means "run the unit tests for the file in the frontmost editor (i.e. selected resource)". I would really like to be able to always make this be bound to a key.
Another configuration (#2) means "run the server that I am working on (in the frontmost project) so I can test it interactively".
Yet another (#3) means "run some automated acceptance tests against the server".
I always want to have #1 close at hand, easy to run from a single keystroke. Plus, I want to be able to run #2, watch it start up in a console, and when it's ready (since it's not entirely trivial to automate this) hit the key for #3.
This is possibly similar to the question for binding a key to a specific build configuration, but the answers there look very specific to builds, and as I'm using PyDev, I don't have a "build" step at all.
Also, given that I'm using PyDev, an answer in the form of a pyedit_*
script would be appreciated just as much as a "native" answer for eclipse.
Maybe Eclipse Runner plugin could make it easier for someone to handle launch configurations. It doesn't allow to assign key binding to launch configurations currently but I opened a feature request Key bindings for launch configurations
这篇关于如何将特定密钥绑定到Eclipse中的不同启动配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!