When we develop Android, we may need to set up the Eclipse code auto prompt, background color, font size, various shortcut keys, etc. in this brief summary, hope can help everyone:
1. Set the Java code page:
(1) Code automatic hint: windows--preferences--java--editor--content Assist
Modify it to this character. abcdefghijklmnopqrstuvwxyz
(2) Set line number windows--preferences----Editors---Text Editors
(3) Set background color windows--preferences----Editors---Text Editors
(4). Set the font size windows--preferences----Color and Fonts
2 XML page settings:
(1) code automatically prompts windows--preferences----XML----XML Files--Editor---Content Assist
Change to this code. ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIGKLMNOPQRSTUVWXYZ (,
(2) XML page font size window--preferences--general--appearance--colors and
fonts--basic--"Text Font"
Here are a few of the most common shortcut keys:
CTRL+SHIFT+F Code Auto Format ctrl+\ Uncomment ctrl+/ comment ctrl+shift+m add import Shift +alt+j code multiline comment Debug run F7 Step back F6 Single step skip F5 step into Ctrl+f5 single step jump Select F11 Debug last start F8 continue shift+f5 use filter stepping Ctrl+shift+b Add/Remove Breakpoints Ctrl+d show Ctrl+f11 run last start ctrl+r run to line Ctrl+u Execute
Eclipse Common Settings