Eclipse Issues Highlights

Import and export of Jar package in Eclipse

import:

Add a lib folder in the project directory, add the corresponding Jar package to the folder, then right-click the Jar file and select Build Path -> add to build path

Export:

Right-click the file or package to export and select export -> jar file

Eclipse cannot automatically pop up prompts

From: http://www.apkbus.com/android-104663-1-1.html

1. The second method is used when there is no hint: open the windows -preferences -java -editor -content assist on the eclipse in turn, there is a line "select the proposal kinds contained in the 'default' content assist in the upper right corner" list", check the Java Prolosals checkbox, save and exit.

2. This method is used to type abbreviations without prompts (for example: type syso without prompts):
open the windows above eclipse in turn --preferences --java --editor --content assist, in the lower part of the right part Find the item "Auto activation triggers for java:", followed by a text box, enter the letters abcd in the text box behind, then click appplay->OK to save and exit, select export File - General - Export, select preferences and then select Export all check box (no need to manage below), and specify the name and path of the export file (note that only files in .epf format can be exported). Then find the epf file you just exported in the path you specified, open it (you can use Notepad), find the abcd (or abc) you just entered, and add the remaining 22 English letters after it. After saving, Then use the import function of eclipse to import the file into eclipse, and then the word association prompt function can be realized.

3. Open windows - preferences - General - Keys on eclipse in turn, there is a search box under Scheme, enter "Content asist" in the search box (my Eclipse cannot enter in this search box, the following The button grabbed the focus, so I chose to copy and paste, pay attention to capitalization when searching), after selecting the "Content asist" item, change the Binding item to "ALT+/" (press the "/" key to change) , select the When item as Editing Text;

4. Open windows --preferences --java --editor --content assist --advanced in turn, and select the Template Proposals item in the lower right check box.

this project is not associated with any servers

window->preferences->server->runtime enviroment->add

Some Eclipse projects are garbled

Right-click on the garbled project->properities->resource->Other->UTF-8

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325586367&siteId=291194637