我想使用 SWTBot 通过快速辅助菜单内联局部变量。我的SWTBot测试弹出快速辅助菜单,但无法选择提案项。我已经在 一个最小项目 ="nofollow">GitHub 演示了这个问题,并打开了一个问题详细描述了问题。
I'd like to use SWTBot to inline a local variable via the quick assist menu. My SWTBot test pops up the quick assist menu, but it fails to select the proposal item. I've created a minimal project on GitHub that demonstrates this problem and opened an issue that describes the problem in detail.
发布评论
评论(1)
我对自动完成菜单也有同样的问题,我发现的唯一解决方法是实现我自己的自动完成方法。您可以轻松执行类似的操作以获得快速帮助。我的代码在windows和unix系统下都经过测试:
I had the same problem with the auto-completion menu and the only workaround I found was to implement my own autoComplete methods. You can easily do something similar for quick assist. My code has been tested under windows and unix systems: