F5刷新不总是可用/在日食中工作 [英] F5 refresh not always available/working in eclipse
问题描述
刷新
而不是刷新...(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屋!