Java开发
柳暗发明君
这个作者很懒,什么都没留下…
展开
-
eclipse自动补全的设置
eclipse自动补全的设置 如果你用过Visual Studio的自动补全功能后,再来用eclipse的自动补全功能,相信大家会有些许失望。 但是eclipse其实是非常强大的,eclipse的自动补全没有VS那么好是因为eclipse的补全功能用的是默认设置。你只需要稍微修改一下就行了。 最简单的修改方式是:Windows——>Preferences——转载 2014-12-30 08:29:55 · 673 阅读 · 0 评论 -
Eclipse 自动补全方法
Eclipse 自动补全方法 断线的风筝 2011-01-22 05:52:10 在Eclipse里面默认的自动补全挺难按的,至少我是这么认为的,所以打算动手改一改~ 第一种 通过快捷键 在Preferences里面设置,(中文的话,叫个人喜好?,不知道是不是这么翻译的)选定General的Keys选项,在右边输入content就能找到,直接修改Binding就行。原创 2014-12-30 08:40:45 · 1188 阅读 · 0 评论 -
eclipse注释字体大小设置
Window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit 另外还可以特定Eclipse区域中的字体,都在Window --> Preferences --> General --> Appearance中,转载 2014-12-30 13:16:14 · 1331 阅读 · 1 评论 -
Java:Resource leak: 'a' is never closed怎么处理?
原因:Scanner in = new Scanner(System.in);之后,没有关闭 最后加一个in.close();即可原创 2014-12-30 13:50:34 · 3514 阅读 · 0 评论 -
Eclipse修改语言
之前我在《Eclipse的界面语言》里写了eclipse支持的语言以及用快捷方式的方法设置Eclipse的界面语言。调查了一下,发现下面三种方法都行。语言参数请参照《Eclipse的界面语言》 1、利用快捷方式启动,在快捷方式的属性中的目标后面加上“-nl en_US”。 2、在eclipse.ini文件中的-product后加入如下内容(注意要换行)如: 1转载 2014-12-29 23:35:39 · 3899 阅读 · 0 评论 -
eclipse去除所有调试断点
今天调试的时候发现之前加了太多断点,想去除所有断点,才想起来一直都没有使用过这个功能,放狗搜了一下,很快找到,记录一下。 方法一: 在工作界面,点window菜单栏,选中Preperences,在General选项卡中的key节点下, 找到快捷键输入栏,在type filter text中输入remove,下面自能提示中就会出现Remove all breakpoints,我们要找的撤转载 2014-12-31 09:27:07 · 602 阅读 · 0 评论 -
PHP 日期问题 PHP Warning: date(): It is not safe to rely on the system’s timezone settings
PHP Warning: date(): It is not safe to rely on the system’s timezone settings 通过观察nginx的错误日志,发现大量的如下错误: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *re转载 2013-05-09 14:02:15 · 963 阅读 · 0 评论