开发者

What are some useful shortcuts in Eclipse? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, refer开发者_高级运维ences, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

What are some useful shortcuts in Eclipse?


My favorite: Ctrl+2, R to rename all instances of a variable in a class.


ctrl + shift + / to minimize all folding block.

ctrl + shift + * to expand all folding blocks.

Of course you have to have folding enabled :D


I love editing ones.

Ctrl + Shift + M = Add import
Ctrl + Shift + F = Reformat (the best)
Ctrl + Shift + O = Organize Imports
Ctrl + / = Comment
Ctrl + \ = UnComment
Ctrl + I = Correct indentation

Also this ones handy.

F3 = Goto declaration

A Whole List can be found here --> Eclipse Shortcuts


Some of My favorite shortcuts :

1) ctrl + Shift + R //Open Resource

2) ctrl + Shift + / and \ //For Add Block and Remove Comment.

3) ctrl + Shift + O //For Auto import of packages.

4)ctrl + 7 //For inline comments.

5)Ctrl + Shift + F // Reformatting

6)ctrl + Space //Off course for intelligence


Ones I use most often

Ctrl + space auto complete.

Ctrl + / to comment a line/block

sysout to expand to system.out.println();

syserr to expand to system.err.println();

F3 for go to declaration

F4 to display hierachy

and select text and press Ctrl + Arrow UP/down, try it


This picture short cut for Eclipse will helps.It gathers most of short cuts in Eclipse in categories.Certainly it has what your want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜