分类 IDE 下的文章

今天在 eclipse 上安装了 windowbuilder 插件,但是 palette 一直是空白的,不能放控件。 版本 eclipse 4.9.0, windowbuilder 1.9.0。

经过一番搜索后,决定更新 windowbuilder,先更新到 1.9.1 版本,还是空白,再次更新到 1.9.2 版本,终于不是空白可以正常使用了。

最近在 linux 平台使用 truestudio 这样的基于 eclipse 二次开发的 IDE,发现编辑区会一直闪烁。经过一番搜索尝试之后,终于找到了解决的方法。

转自:http://www.riksoft.it/wikiriks/ide/eclipse-luna-speedup-and-fix-flickering https://stackoverflow.com/questions/41147840/eclipse-flickering-on-new-line

Eclipse Luna speed up and fix flickering

I used to work with Indigo and it was pretty good, but once in a while it's important to upgrade to have some new features so I was forced to install Luna.

First huge problem Try to move the editor tabs: everything disappear. The entire Window turn to gray (on Windows some experience it as black)

Second problem A lot of flickering everywhere, even on other windows not Eclipse related (e.g file manager, pluma, etc.).

Third problem Slow, slow slow. My i7 workstation can't scroll the editor properly. What do they expecty me to use? A Cray-X Mainframe?8-O When I use the down arrow, it's so slow that the keys are queued and I can't figure out when depressing the key to stop where I want to.

Solution Make a bash script like this one:

#!/bin/bash
export SWT_GTK3=0
export UBUNTU_MENUPROXY=0
cd /opt/eclipse
./eclipse -showlocation

edit the launch icon of Eclipse to use that script instead of eclipse directly. Try it. No more flickering and good speed is back!

FIX the theme With the above modifications the gtk menu will look a bit messy. To fix it, go in window→preferenced→general→appearance and set classic theme and that's it!

最近看到一个比较好的 eclipse 插件:embsysregview,于是想装起来用用看。结果安装过程出错,4个 jar 的包下载不下来,并且通过本地安装的方法也不行。 后来终于找到作者的回复,作者的意思是 一切都是网址的错误。 我们只能修改安装插件的网址为 http://embsysregview.sourceforge.net/update/site.xml

https://sourceforge.net/projects/embsysregview/files/embsysregview/0.2.6/ 下载包。

然后把从网上下载下来的 0.26 版本的4个 jar 包放入 plugins 文件夹下面,

这样就可以 使用正常安装插件的方法安装了.