eclipse 鼠标光标消失
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12042988/
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
Mouse cursor disappearing
提问by AnujKu
For some reason, the mouse cursor in Eclipse is disappearing.
出于某种原因,Eclipse 中的鼠标光标正在消失。
I can see that I am able to move on the next line and it shows me via the usual color changes, but the cursor itself is not visible. When I start eclipse, I can see the cursor but once the initialization is complete, the cursor is hidden again.
我可以看到我可以移动到下一行,它通过通常的颜色变化向我显示,但光标本身不可见。当我启动 eclipse 时,我可以看到光标,但是一旦初始化完成,光标就会再次隐藏。
The same thing happened when I switched from Eclipse Indigo to Juno and other versions. I do not know what to do.
当我从 Eclipse Indigo 切换到 Juno 和其他版本时,也发生了同样的事情。我不知道该怎么办。
Any pointers on what might be wrong ?
关于可能出什么问题的任何指示?
采纳答案by Ashutosh Jindal
Anuj, try whether one of the following usual suspects fixes the problem :
Anuj,请尝试以下常见嫌疑人之一是否可以解决问题:
Change to a new workspace and check whether the problem re-appears there.
- If it does not re-appear, then you are dealing with a corrupt workspace. Would a whole lot be lost if you began with a new workspace ?
- If it does, then it's probably a rowdy Eclipse plugin. The next logical step would be a fresh Eclipse install (I would recommend Eclipse Indigo for Java Devs downloadable from here)
If the problem persists with a brand new Eclipse + new workspace, then we'll need to widen our hunt and include OS / JDK problems. And while we are on that, which OS , JDK and Eclipse version are you using ?
切换到一个新的工作区并检查问题是否再次出现在那里。
- 如果它没有重新出现,那么您正在处理损坏的工作区。如果您从一个新的工作空间开始,会损失很多吗?
- 如果是这样,那么它可能是一个粗暴的 Eclipse 插件。下一个合乎逻辑的步骤将是全新的 Eclipse 安装(我会推荐 Eclipse Indigo for Java Devs 可从这里下载)
如果问题在全新的 Eclipse + 新工作区中仍然存在,那么我们需要扩大我们的搜索范围并包括 OS / JDK 问题。在我们讨论时,您使用的是哪个操作系统、JDK 和 Eclipse 版本?
Backing up a 'working' Eclipse setup
备份“工作”的 Eclipse 设置
Once the problem has been fixed (for example by doing a Fresh Eclipse install) I would highly recommend backing up the following :
一旦问题得到解决(例如通过进行全新 Eclipse 安装),我强烈建议您备份以下内容:
- The Eclipse Installation directory (so that you get all the plugins you installed)
- Workspace directory.
- Eclipse 安装目录(以便您获得安装的所有插件)
- 工作区目录。
That ways you can restore a working
version of your setup with minimal effort.
这样您就可以working
以最少的努力恢复您的设置版本。