显示中文会变成乱码解决方案:Windows- >Pereferences- >General->Workspace- >Text File Encoding 选项下选择other,然后输入"GBK"即可 当然你系统安装了东亚字体的支持才行,控制面板-区域选项里安装。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4251/showart_1659825.html
by appleisred - Linux文档专区 - 2008-11-22 20:52:10 阅读(1509) 回复(0)
本帖最后由 木卫十二 于 2012-04-30 17:41 编辑 初学python,按照网上的指导配置eclipse+pydev,也选中了所有的“用space取代tab"的选项,但还有如下问题: 输入空格,但其实显示与正常的空格不同,长度为半个字符长度。 输入Tab,也是长度为两个字符长度的四个空格。回删也是全部都删除,而不是四个空格一个一个删。 如图。 当然,输入正常代码后,系统会自动调整其为正常状况。 我希望只有正常的空格,没有这种Tab,或者...
我用的是SWT中的Label或Text等,最多显示1000多字,再多了程序就死了 我的代码: org.eclipse.swt.widgets.Text fText = getWidgetFactory().createText(parent, “”, SWT.MULTI | SWT.READ_ONLY | SWT.WRAP); int style = GridData.FILL_HORIZONTAL; gd = new GridData(style); gd.widthHint = 50; fText.setLayoutData(gd); fText.setText(text); //text长度为8000
本帖最后由 renxiao2003 于 2010-02-11 09:21 编辑 和原来的版本有所不同,现在的位置在窗口(Windows)->首先项(Preferences),在弹出窗口中选择常规(General)->编辑器(Editor)->文本编辑器(Text Editor)中选择显示行号(Show line numbers)就可以了。
import java.io.ByteArrayOutputStream; import java.io.File; import java.io.OutputStream; import java.util.HashMap; import java.util.List; import javax.servlet.ServletContext; import org.apache.struts2.ServletActionContext; import org.eclipse.birt.core.framework.IPlatformContext; import org.eclipse.birt.core.framework.Platform; import org.eclipse.birt.core.framework.PlatformServletContext; impor...
关于eclipse3.2把工程导入以后项目的check-in check-out的状态图标无法显示问题应该做如下设置: Window->preferences->General->Appearance->Label Decorations ->列表里把 VSS Plugin Team Decorator 钩选上 我的版本是eclipse3.2.0 可能由于版本不一样放置的位置不一样吧,最主要是找到Label Decorations 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28618/showart_1834804.html