本帖最后由 renxiao2003 于 2010-02-11 09:21 编辑 和原来的版本有所不同,现在的位置在窗口(Windows)->首先项(Preferences),在弹出窗口中选择常规(General)->编辑器(Editor)->文本编辑器(Text Editor)中选择显示行号(Show line numbers)就可以了。
我的eclipse的PHP开发环境为什么不能显示行号? 怎么编辑都是不能显示行号,我都无奈了 点击show line numbers 根本没用 我的eclipse不管是软件安装PHP插件的方式还是直接覆盖文件夹的方式都是不能显示行号……大家有知道咋么解决的么?
显示中文会变成乱码解决方案:Windows- >Pereferences- >General->Workspace- >Text File Encoding 选项下选择other,然后输入"GBK"即可 当然你系统安装了东亚字体的支持才行,控制面板-区域选项里安装。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4251/showart_1659825.html
我用的是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
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