Ctrl + Shift + R 在 Eclipse 中不起作用
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5725587/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Ctrl + Shift + R is not working in Eclipse
提问by Chaitanya MSV
We all know that we can use Ctrl+ Shift+ Rto search any file in the workspace. But today, I surprisingly found out that it is not working anymore.
我们都知道,我们可以使用Ctrl+ Shift+R搜索的任何文件工作区。但是今天,我惊讶地发现它不再起作用了。
Ctrl+ Shift+ Hand Ctrl+ Shift+ Tare working though.
Ctrl+ Shift+H和Ctrl+ Shift+T的工作虽然。
I believe I am missing a setting somewhere possibly in Window -> Customise Perspective menu. Not sure what is it exactly.
我相信我可能在 Window -> Customize Perspective 菜单中的某处丢失了一个设置。不确定它到底是什么。
Any help is appreciated.
任何帮助表示赞赏。
采纳答案by Chaitanya MSV
Just realized this morning that I have a screen capture tool called Snagit installed which uses the same key combination to start capture.
今天早上才意识到我安装了一个名为 Snagit 的屏幕捕获工具,它使用相同的组合键开始捕获。
When I closed Snagit, Ctrl+ Shift+ Ris back in action in Eclipse.
当我关闭SnagIt的,Ctrl+ Shift+R是在行动在Eclipse。
But not sure why the same Ctrl+ Shift+ Rdid not even open Snagit last week when I tied so hard. May be Snagit was not running last week!
但是不知道为什么同一Ctrl+ Shift+R上周,当我绑这么辛苦甚至没有打开SnagIt的。可能是 Snagit 上周没有运行!
回答by Kumar Mayank Singh
I had the same problem in Eclipse. And it occured when I reopened my Workspace. In my case, when I re-started eclipse, the workspace opened in J2EE perspective by default. Ctrl+Shift+R does not work in this perspective. I changed my perspective to 'Java' and it started working again.
我在 Eclipse 中遇到了同样的问题。它发生在我重新打开我的工作区时。就我而言,当我重新启动 eclipse 时,工作区默认以 J2EE 透视图打开。Ctrl+Shift+R 在这个视角下不起作用。我将我的观点更改为“Java”,然后它又开始工作了。
Maybe you have the same issue.
也许你有同样的问题。
回答by Juuso Ohtonen
A window manager application 4tray Minimizerinterferes with Ctrl+ Shift+ Rby default.
窗口管理器应用程序4tray极小干扰 Ctrl+ Shift+R默认。
回答by anubhava
If it is Mac then you may have to use CMD+ Shift+ R.
如果是苹果机,那么你可能需要使用CMD+ Shift+ R。
回答by CloudyMarble
Do you have any AddOns installed? check if any of these overrites the Key combination and change it if though. If this doesnt help then check the Eclipse settings.
你有安装任何插件吗?检查这些中是否有任何一个覆盖了组合键,如果是,则更改它。如果这没有帮助,则检查Eclipse 设置。
回答by Sundaravadivel
we can able to resolve the issue.
我们可以解决这个问题。
Please follow this link.
请点击此链接。
There is a videoon how to modify the global short cut keys.
有一个关于如何修改全局快捷键的视频。
Go to SnagIt -> Tools -> Program Preferences modify the keyboard short cut key combination as you needed.
转到 SnagIt -> Tools -> Program Preferences 根据需要修改键盘快捷键组合。
回答by Ishtiaque Daudpota
I also faced the same issue and managed to resolve it by following steps:
我也遇到了同样的问题,并通过以下步骤设法解决了它:
Open or search Snagit 9.
打开或搜索 Snagit 9。
Click Tools > Program Preferences
点击 Tools > Program Preferences
Un-check or remove check boxes under 'Repeat last capture hotkey' and click OK.
取消选中或删除“重复上次捕获热键”下的复选框,然后单击“确定”。
回答by dezzer10
If the conflict is with Snagit setting global hotkey, then change this in Snagit.
如果与 Snagit 设置全局热键冲突,则在 Snagit 中更改此设置。
Tools>Program Preferences> Hotkeys and change default key combination to something else that doesn't conflict (e.g. just check Alt)
工具>程序首选项>热键并将默认组合键更改为不冲突的其他内容(例如只需选中Alt)
回答by DESPAIR
Or try change hotkey on layout switch, I my case after using Windows many year I set it for Alt+ Shiftand it's why I can't use Alt+ SHIFT+ Rin Eclipse. When I'm turning to Caps Lock all works fine.
或者尝试更改布局开关上的热键,我在使用 Windows 多年后将其设置为Alt+ Shift,这就是我无法在 Eclipse 中使用Alt+ SHIFT+的原因R。当我转向 Caps Lock 时一切正常。
回答by i-tms
If the problem is not with your key combination, there is another issue which will bring up the Open Resources view but will not display any results when you type the resource name you are looking for. This happens especially when your projects are organized into eclipse working sets.
如果问题不在于您的组合键,则还有另一个问题会显示“打开资源”视图,但在您键入要查找的资源名称时不会显示任何结果。当您的项目被组织成 eclipse 工作集时,尤其会发生这种情况。
Bring up the open Resources view with your key combination or using the menu bar. On the right-hand-side just below the close view icon (x) there is a small icon with a triangle. Click this icon and then click on "select working set". This will bring up the "select working set" view. In this view select the "Windows Working Sets". Then select OK.
使用组合键或使用菜单栏调出打开的资源视图。在关闭视图图标 (x) 正下方的右侧有一个带三角形的小图标。单击此图标,然后单击“选择工作集”。这将打开“选择工作集”视图。在此视图中选择“Windows 工作集”。然后选择确定。