F5刷新不总是可用/在日食中工作 [英] F5 refresh not always available/working in eclipse

查看:128
本文介绍了F5刷新不总是可用/在日食中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,如果我想在eclipse中刷新项目(或文件夹,工作集,...),只需选择项目并点击 F5 即可。有时候,在击中 F5 之后没有任何反应。当我右键单击项目,我在上下文菜单中看到选项刷新而不是刷新...(F5)



因此,由于某些原因,项目的当前状态或此类状态不允许 F5 刷新。我现在在靛蓝这个问题,但至少在以前的2个版本的eclipse已经存在。



这是一个错误,还是有一个(有效)的原因,为什么 F5 有时不可用?

解决方案

我的猜测是将F5键映射到多个操作,其中刷新的优先级最低。您可以在首选项>常规>键下看到映射



默认情况下,F5在调试时映射到刷新和进入,根据您使用的插件。



但在另一个注释中:



即使上下文菜单将F5列为快捷方式,刷新通常对我来说并不奏效(特别是当我有CVS的同步错误时)。我习惯于直接点击刷新我的项目,因为它总是工作...


Usually if I want to refresh a project (or folder, Working Set, ...) in eclipse I just select the project and hit F5. Sometimes however nothing happens after hitting F5. When I then right-click the project I see in the context menu the option Refresh and not Refresh... (F5).

So for some reason the current state or such of the project does not allow F5 to refresh. I have this issue now in Indigo but this was already there in at least the 2 previous versions of eclipse.

Is this a bug or is there a (valid) reason why F5 is sometimes not available?

解决方案

My guess would be that the F5 key is mapped to multiple actions, where "Refresh" has the lowest priority. You can see the mapping under Preferences > General > Keys

By default F5 is mapped to "Refresh" and "Step into" while debugging, there can be more mappings depending on which plugins you use.

But in another note:

Even if the context menu lists F5 as shortcuts, refreshing often doesn't work for me that way (especially when I have an 'out-of-sync' error from CVS). I got used to rightclick refresh my project as it always works...

这篇关于F5刷新不总是可用/在日食中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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