中国Java开发网 中国Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» 中国Java开发网 » Java IDE » Eclipse  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Eclipse使用技巧
yamakasy



CJSDN高级会员


发贴: 527
积分: 63
于 2003-04-08 00:20 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
带了一个头,发起对Eclipse使用技巧的学习。欢迎跟贴子,不要讨论,如果有疑问,请不要跟贴,请另外从新发贴,

sanigo edited on 2003-08-15 10:44

old Russian saying: If you are so smart, why are you so poor?


Sun Certified Java Programer
yamakasy.blogone.net
作者 将JDK Document集成到Eclipse中(转贴) [Re:yamakasy]
yamakasy



CJSDN高级会员


发贴: 527
积分: 63
于 2003-04-08 00:24 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
1.在Eclipse的plugins目录下创建子目录 org.jdkdoc.1.4.1
2.将附件中的文件拷贝到此子目录下
3.将JDK DOC压缩文件(我的是j2sdk-1_4_1-doc.zip)拷贝到此子目录下,并改名为doc.zip

22_2980.zip (32.56k)



old Russian saying: If you are so smart, why are you so poor?


Sun Certified Java Programer
yamakasy.blogone.net
作者 Re:Eclipse使用技巧 [Re:yamakasy]
merlin45





发贴: 137
积分: 20
于 2003-04-09 00:50 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
支持一下,锌版eclipse 在和cvs nt集成的时候,一定要把
cvsnt 的确 repositories tab page 下
repositories pre 项uncheck

psserver连接的时候使用绝对路径。



作者 Re:将JDK Document集成到Eclipse中(转贴) [Re:yamakasy]
wyan716





发贴: 115
积分: 10
于 2003-04-09 13:33 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
yamakasy wrote:
1.在Eclipse的plugins目录下创建子目录 org.jdkdoc.1.4.1
2.将附件中的文件拷贝到此子目录下
3.将JDK DOC压缩文件(我的是j2sdk-1_4_1-doc.zip)拷贝到此子目录下,并改名为doc.zip

搞好了后,在里面怎么用?



作者 Re:Eclipse使用技巧 [Re:yamakasy]
song_gc



发贴: 0
积分: 0
于 2003-04-10 09:20 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
使用sysdeo调试tomcat应用时,是不是会弹出javac的command窗口,编译jsp或者servlet啊?我这里总是弹出,大家是不是也是这样啊?


作者 Re:Eclipse使用技巧 - GC settings to improve Eclipse startup [Re:yamakasy]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2003-04-11 22:43 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
樓上的大俠:yamakasy 在上面寫得清楚,“不要讨论,如果有疑问,请不要跟贴,请另外从新发贴”啦!
不過小的即管答一答:
“搞好了后,在里面怎么用?” Help 裏有Java SDK Docuementation囉!
“是不是会弹出javac的command窗口” 不是啊!(之前少了一個不字,抱歉-ing)


從小的的舊帖子上抄過來:
(如有需要,請到 http://www.cjsdn.com/post/view?bid=7&id=16864 回應啦!)

from: http://www.raibledesigns.com/page/rd/20030312
I (the author) changed my shorcut icon (Win2K) to have the following as it's target:
eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx256m -Xms256m

Eclipse now starts in a mere 6 seconds (2 GHz Dell, 512 MB RAM). Without these extra settings, it takes 11 seconds to start. That's what I (the author) call a performance increase! (2003-03-12 09:32:04.0)

from: http://www.raibledesigns.com/comment.do?method=edit&entryid=065039163189104748672473500018
I (the author) tried this out, but the memory settings don't seem to have anything to do with startup time.
18 seconds - "eclipse.exe"
13 seconds - "eclipse.exe -vmargs -Xverify:none"
12 seconds - "eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx96m -Xms96m"

It's only the Xverify:none parameter which has a noticeable effect on reducing startup time. On the java website I found that this parameter turns off bytecode verification ( http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/Security.html ), although the default is supposedly "only verify classes loaded over the network".

小的找了一部有500MHz PIII + 384MB的電腦測試 Eclipse 2.1︰
26 seconds - "eclipse.exe"
18 seconds - "eclipse.exe -vmargs -Xverify:none"
15 seconds - "eclipse.exe -vmargs -Xverify:none -XX:+....

在我那有大量 plug-ins 的 eclipse 2.1,用了 -vmargs -Xverify:none 啟動時間由10秒降至5-6秒。
似乎在 WSAD 也一樣有效。


why edited on 2003-04-12 02:13

作者 Eclipse的Plug-In [Re:yamakasy]
luoq_dl

Love



发贴: 162
积分: 41
于 2003-05-02 15:12 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
http://www.eclipse-workbench.com/jsp/plugins.jsp
可以到这个地址找到一些Eclipse的Plugin
希望大家喜欢



作者 Re:Eclipse使用技巧 [Re:yamakasy]
merlin45





发贴: 137
积分: 20
于 2003-05-07 17:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
http://www.crionics.com/products/opensource/eclipse/eclipse.html


作者 Re:Eclipse使用技巧 [Re:yamakasy]
superalex



发贴: 0
积分: 0
于 2003-05-24 09:42 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
http://eclipse-plugins.2y.net/eclipse/index.jsp
It has a lot of plugin for eclipse using............
Everyone who uses eclipse must go to this site to find helperful plugings..
Like Lomboz , Assisi Eclipse GUI-Designer , MyEclipse Enterprise Workbench , etc....



作者 Re:Eclipse使用技巧 [Re:yamakasy]
rainman

阿熊

元老


发贴: 5637
积分: 454
于 2003-09-16 06:56 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Insert key can switch edit mode and the cursor will be change also.



作者 Re:Eclipse使用技巧 [Re:yamakasy]
scottding

十三部落酋长

CJSDN高级会员


发贴: 1053
积分: 101
于 2003-09-23 20:04 user profilesend a private message to usersend email to scottdingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这个贴子从一开始就跑题了,,基本没有怎么说到使用技巧上,怎么都在介绍一些插件?


Blog   Home   @unumu

作者 Re:Eclipse使用技巧 [Re:yamakasy]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-09-24 08:44 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
ctrl + M

用了就知道Smile



作者 Re:Eclipse使用技巧 [Re:scottding]
liufancjsdn





发贴: 55
积分: 0
于 2003-09-24 09:09 user profilesend a private message to usersend email to liufancjsdnsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
scottding wrote:
这个贴子从一开始就跑题了,,基本没有怎么说到使用技巧上,怎么都在介绍一些插件?


是啊,是啊!
我想问一个,如何切换字符的大小写,没找的设置的



作者 Re:Eclipse使用技巧 [Re:wes109]
dapan



CJSDN高级会员


发贴: 929
积分: 80
于 2003-09-24 11:03 user profilesend a private message to usersend email to dapansearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
wes109 wrote:
ctrl + M

用了就知道Smile


两个手指撑开的太大了,不如直接双击Tab标签!

用了都说好!Smile

^_^



作者 Re:Eclipse使用技巧 [Re:dapan]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-09-24 11:16 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
dapan wrote:
两个手指撑开的太大了,不如直接双击Tab标签!

用了都说好!Smile

^_^


好是好了
但写代码的时候俺才懒的动鼠标呢 Wink



作者 Re:Eclipse使用技巧 [Re:yamakasy]
姚崇铧



发贴: 0
积分: 0
于 2003-09-26 09:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
如果写代码时,不想动鼠标,可以试试viPlugin,实现类似VI的功能。很不错!


作者 Re:Eclipse使用技巧 [Re:yamakasy]
姚崇铧



发贴: 0
积分: 0
于 2003-09-26 09:44 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
利用CTRL+鼠标键,可以跟踪方法和类的源码!
如果不能显示源码,则可以按那个attachSource的按钮,选择对应的源码zip、jar文件就可以了



作者 Re:Eclipse使用技巧 [Re:yamakasy]
scottding

十三部落酋长

CJSDN高级会员


发贴: 1053
积分: 101
于 2003-09-26 13:05 user profilesend a private message to usersend email to scottdingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
尝试一下。。
Ctrl + F6
Ctrl + F7
Ctrl + F8
Smile



Blog   Home   @unumu

作者 Re:Eclipse使用技巧 [Re:yamakasy]
姚崇铧



发贴: 0
积分: 0
于 2003-09-26 14:13 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不错。
还有需要content assist时,可以用Alt+/,原来的Ctrl+Space被输入法占用了。

Smile



作者 Re:Eclipse使用技巧 [Re:yamakasy]
jazzy



发贴: 0
积分: 0
于 2003-10-04 14:40 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
还有,拖动窗口到最左边的栏位上
help里好像称为fast view



作者 Re:Eclipse使用技巧 [Re:yamakasy]
jazzy



发贴: 0
积分: 0
于 2003-10-04 14:48 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
再补充点:系统中的快捷键eclipse也都支持,比如:alt+<--或者alt+-->
加书签有没有快捷键啊?
来回跳还要动鼠标老麻烦的



作者 Re:Eclipse使用技巧 [Re:jazzy]
Jove



CJSDN高级会员


发贴: 1228
积分: 194
于 2003-10-04 16:08 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
jazzy wrote:
再补充点:系统中的快捷键eclipse也都支持,比如:alt+<--或者alt+-->
加书签有没有快捷键啊?
来回跳还要动鼠标老麻烦的


似乎没有删除一行的快捷键,怀念Ctrl+Y
装了viPlugin后,可以dd, 不过毕竟不太习惯



作者 Re:Eclipse使用技巧 [Re:yamakasy]
dliang



发贴: 0
积分: 0
于 2003-10-05 01:31 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
删除一行,试试Ctrl+E。


作者 Re:Eclipse使用技巧 [Re:Jove]
scottding

十三部落酋长

CJSDN高级会员


发贴: 1053
积分: 101
于 2003-10-06 11:48 user profilesend a private message to usersend email to scottdingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Jove wrote:
似乎没有删除一行的快捷键,怀念Ctrl+Y
装了viPlugin后,可以dd, 不过毕竟不太习惯

删除一行用Ctrl+E,如果不好用的话,,自己设置一下吧。



Blog   Home   @unumu

作者 察看源代码的方法 [Re:yamakasy]
neilyoung

来吧!迷乱中找到和谐.



发贴: 63
积分: 30
于 2003-10-14 17:39 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在Window/Perferences/Java/Classpath Variables中 Edit JRE_SRC Variable == %JAVA_HOME%\src.zip, 在java perspective or resource perspective mode 下,鼠标点类名,然后按F3会在ouline 中出现相应的jdk中的类的源代码的树形图,很利于参考(源代码就是最好的文档)。

同样的道理可以自己创建CUSTOM_SRC等变量。


neilyoung edited on 2003-10-14 17:45

作者 Re:察看源代码的方法 [Re:neilyoung]
Jove



CJSDN高级会员


发贴: 1228
积分: 194
于 2003-10-14 18:06 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
neilyoung wrote:
同样的道理可以自己创建CUSTOM_SRC等变量。


试了一下,没效果. 要怎么作呢? 比如我希望能显示swt的apidoc



作者 Javadoc comments [Re:yamakasy]
neilyoung

来吧!迷乱中找到和谐.



发贴: 63
积分: 30
于 2003-10-14 18:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Javadoc comments
the steps:
1 Select Window→Preferences→Java→Code Generation.
2 Click the Code and Comments tab on this page.
3 Select Code→New Java files, and click the Edit button.
4 Change the text to the following:
/* ${file_name}
* Created on ${date}
*/
${package_declaration}
${typecomment}
${type_declaration}

5 Select Comment→Types and click the Edit button.
6 Change the text to the following:
/**
* Add one sentence class summary here.
* Add class description here.
*
* @author ${user}
* @version 1.0, ${date}
*/



作者 Re:察看源代码的方法 [Re:Jove]
neilyoung

来吧!迷乱中找到和谐.



发贴: 63
积分: 30
于 2003-10-14 18:18 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Jove wrote:
试了一下,没效果. 要怎么作呢? 比如我希望能显示swt的apidoc


不是显示doc,是直接显示src.
你要是没有效果,估计是JRE_SRC没有加到当前Project的library中。
the step below:
1.package explore-->右键点击project name--->properties--->java build path--->libraries--->add variable--->choose the corresponding variable , click ok.



作者 Re:察看源代码的方法 [Re:neilyoung]
Jove



CJSDN高级会员


发贴: 1228
积分: 194
于 2003-10-14 19:13 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
搞定了, 只需要右键选择你的第三方jar,选择属性,在Java Source Attachment中指定源文件
或者直接在类名上按F3, 系统找不到source,会提示是否attach的
指定了source后,鼠标掠过类名,就显示javadoc,按F3显示源码,按F2显示javadoc

论坛上有人做了个插件,把一个目录下的所有jar加为lib
好像和这个有冲突


Jove edited on 2003-10-14 19:16

作者 Re:Eclipse使用技巧 [Re:yamakasy]
neilyoung

来吧!迷乱中找到和谐.



发贴: 63
积分: 30
于 2003-10-15 10:08 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
well done.
yeah, if you don't select the variable JRE_SRC, a remind whick ask you to attach some src code will pop up.



go to first page go to previous page  1   2   3  go to next page go to last page

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2018 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923