﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-留意生活-文章分类-eclipse</title><link>http://www.blogjava.net/liuyimx/category/40839.html</link><description>思念草原</description><language>zh-cn</language><lastBuildDate>Tue, 04 Aug 2009 22:16:30 GMT</lastBuildDate><pubDate>Tue, 04 Aug 2009 22:16:30 GMT</pubDate><ttl>60</ttl><item><title>Syntax error, type parameters are only available if source level is 1.5</title><link>http://www.blogjava.net/liuyimx/articles/289759.html</link><dc:creator>liuyimx</dc:creator><author>liuyimx</author><pubDate>Tue, 04 Aug 2009 06:34:00 GMT</pubDate><guid>http://www.blogjava.net/liuyimx/articles/289759.html</guid><wfw:comment>http://www.blogjava.net/liuyimx/comments/289759.html</wfw:comment><comments>http://www.blogjava.net/liuyimx/articles/289759.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuyimx/comments/commentRss/289759.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuyimx/services/trackbacks/289759.html</trackback:ping><description><![CDATA[<p>当我的eclipse使用jdk1.6的时候，创建泛型类，系统会提示错误: </p>
<p><font color="#ff0000">&#8220;Set project compiler compliance settings to '1.5'&#8221;</font> </p>
<p><font color="#ff0000">&#8220;Syntax error, type parameters are only available if source level is 1.5&#8221;</font> </p>
<p>这时候需要改动两个地方： </p>
<p>1.右击项目--&gt;properties--&gt;java compiler --&gt;选择enabel project specific setting --&gt;Compiler compliance level :选择1.5版本，其他默认 </p>
<p>2.右击项目--&gt;properties --&gt;project facets--&gt;将java后的下拉框选择为5.0</p>
<img src ="http://www.blogjava.net/liuyimx/aggbug/289759.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuyimx/" target="_blank">liuyimx</a> 2009-08-04 14:34 <a href="http://www.blogjava.net/liuyimx/articles/289759.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>eclipse,myeclipse-配置自动提示</title><link>http://www.blogjava.net/liuyimx/articles/eclipse-myeclipse-key.html</link><dc:creator>liuyimx</dc:creator><author>liuyimx</author><pubDate>Mon, 20 Jul 2009 14:48:00 GMT</pubDate><guid>http://www.blogjava.net/liuyimx/articles/eclipse-myeclipse-key.html</guid><wfw:comment>http://www.blogjava.net/liuyimx/comments/287541.html</wfw:comment><comments>http://www.blogjava.net/liuyimx/articles/eclipse-myeclipse-key.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuyimx/comments/commentRss/287541.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuyimx/services/trackbacks/287541.html</trackback:ping><description><![CDATA[<div class="postBody">
<p>自动提示：</p>
<p>1.从Window
-&gt; preferences -&gt; Java -&gt; Editor -&gt; Content assist -&gt;
Auto-Activation下，我们可以在"."号后面加入我们需要自动提 示的首字幕，比如"abcd"。<br />
然后我们回到Eclipse的开发环境，输入"a"，提示就出现了。</p>
<p>2.这个Auto-Activation下的输入框里最多只能输入5个字母</p>
<p>在"."后面随便输入几个字符，比如"abcd"，然后回到开发环境，File -&gt; export -&gt; general -&gt; preferences -&gt; 选一个地方</p>
<p>保存你的首选项，比如C:\a.epf</p>
<p>用
任何文本编辑器打开a.epf，查找字符串&#8220;abcd&#8221;，找到以后，替换成&#8220;opqrstuvwxyz...任何你想要的字符&#8221;</p>
<p>回到Eclipse，File -&gt; import -&gt; general -&gt; preferences
-&gt; 导入刚才的a.epf文件。</p>
<p>3.时间可以设为50毫秒</p>
<p><br />
</p>
<p>快捷键补全:</p>
<p>1.在window--&gt;preferences--&gt;general--&gt;keys下，先找到Alt+/，然后将其设置为其他快捷键</p>
<p>2.找到commond为content assist的快捷键，然后将其设置为alt+/，这样就是我们熟悉的补全了<br />
</p>
</div>
<img src ="http://www.blogjava.net/liuyimx/aggbug/287541.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuyimx/" target="_blank">liuyimx</a> 2009-07-20 22:48 <a href="http://www.blogjava.net/liuyimx/articles/eclipse-myeclipse-key.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>