在开发时切换到运行 Ubuntu 而不是 Windows 后,我遇到了问题。
当我在 Windows 中运行 Eclipse 时,我可以找到软件市场并从那里获得良好且易于使用的颜色主题进行安装。由于我在我的 Ubuntu 版本上找不到任何内容,所以我决定手动编辑它。
这是我的问题:我能够调整“标记出现次数”功能的颜色,该功能突出显示代码段出现的所有位置,但我的程序对首次声明变量的位置执行了其他操作。我拍摄了一个显示问题的简单屏幕截图:
http://www.freeimagehosting.net/19e90
当我禁用“标记出现次数”时,超亮变量声明上的突出显示不会消失,因此它不是同一设置的一部分。我也找不到在哪里更改其颜色,因为由于该突出显示的颜色而无法阅读所写内容,这非常烦人。
你知道我如何禁用这种额外的声明标记吗?或者至少改变它的颜色?我在谷歌搜索时找不到任何东西,但也许我只是在寻找错误的东西。
提前致谢,并对这篇很长的帖子表示歉意!
I have an issue after switching to running Ubuntu when developing instead of Windows.
When I ran Eclipse in Windows, I could find the software market thing and get good and easy-to-use color themes from there to install. Since I couldn't find anything of this on my Ubuntu version, I decided to edit it all manually.
Here is my issue: I was able to adjust the color of the 'mark occurrences'-function that highlights all the all the places where a code piece occurs, but my program does something else to the place where variables are first declared. I took a simple screen shot that displays the problem:
http://www.freeimagehosting.net/19e90
When I disable 'mark occurrences', the super-bright highlighting on variable declarations do not go away, so it's not part of the same setting. I also can't find where I change the color of this, because it's quite annoying not to be able to read what's written due to the coloring of that highlight.
Do you know how I can disable this extra-marking of declarations? Or at least change the color of it? I can't find anything when googling it, but maybe I'm just searching for the wrong things.
Thanks in advance and sorry for this very long post!
我建议在 Ubuntu 上安装新版本的 Eclipse。
我正在 Kubuntu 上进行开发,没有任何问题。请确保在重新安装之前删除所有以前的设置。默认设置应该启用它们。
I would recommend installing a new version of Eclipse on Ubuntu.
I'm developing on Kubuntu and have no issues. Make sure you delete all previous settings before reinstalling. Default settings should have them enabled.