Editor Settings
1. set the font type and size of your code General, Window, Preferences appearanceContent Assist, Colors and fornts, just change the Text Font in Basic
2. Set shortcut KeysWindows--Preferences-->general-- Keys, all shortcut keys appear on the right side of the window
3. Set File encoding General, Window, Preferences Workspace-Text file encoding, other:
4, in the package Explorer interface, the system's Edit menu has two powerful universal " Undo Redo "features, including file deletion, content modification are valid
5. Erase SVN records in Eclipse, modify user name and password Delete the files under the C:\Users\Administrator\AppData\Roaming\Subversion\auth\svn.simple folder
6. The view method is called there:" ctrl+shift+g "or " ctrl+alt+h "
7. Association SDK Window---Preferences->android--> SDK location--> select local SDK root directory .../sdk
8, the associated system source code to open Eclipse, a random new Android project, under the project directory there is an Android 4.4, click to expand the Android.jar appears. Right-click this package---->properties, in the pop-up window, select Java Source attachment-->external location-->external File, Then select the downloaded source-19_r02.zip to successfully bind the Android source code in eclipse.
9. Open the folder where the current file is located install the Easyexplorer plugin ,Http://sourceforge.net/projects/easystruts download, place the jar file directly under Eclipse's plugin directory, then restart Eclipse, Right-click inside the navigation bar and file to see a East Explorer menu item , click to open the directory where the resources are located.
Java Settings
1. Turn on the word prompt (such as when entering system.) automatically eject out, in, and other fields)Windows--Preferences--Java-->editor-- Content Assist----Tick the Java prolosals check box in the upper row
2. When you enter any letter, you are prompted for Windows-preferences Java-->editor-- Content Assist, in the bottom column on the right, the Auto Activation triggers for Java in auto-activation is replaced by "abcdefghijklmnopqrstuvwxyz."
3. Turn on the cursor hover auto prompt
Windows--Preferences Java-->editor--hovers--> tick combined hover options (combined hover hint)
4. Modify the style of automatically generated annotations Window--Preferences-->java-->code style--- Code Templates(style)-click on the right of Code-----click Edit on the right. Main settings: Delete the TODO statement in Delete in @author ${user} after the line break
5. Change the code format Window-- Preferences-->java-->code Style-->formatter-click on the back side of edit 6.1 4> change the format of If, while , try statements in in the sets the maximum number of characters in a row
6. Import, use jar package or library file import: Project right click--properties--java Build path--Click Libraries Tag--add External JARs use: Project Right click--properties--android- -click Add--apply--ok in the lower right corner
7. Change JRE, use PC-installed version Windows-Preferences Java-->installs JREs
Other Settings
1, search--statistics Total code line Open the File Search dialog box, Select Regular expression, enter "\ n" in the Search text box file name Input "*.java,*.xml " Range Select "Enclosing projects", after clicking Search you can see the number of lines of code for the entire project in the upper-left corner of the search results. Data for our projects
2. Set XML prompt when entering any letter
Window-- Preferences-->xml--XML Files -->editor ---content assist, type all letters in the edit box
From for notes (Wiz)
Eclipse "Common settings" tips for using