java--Eclipse for mac code prompt (code assistant, code association) shortcut key modification

Eclipse for mac code prompt (code assistant, code association) shortcut key modification

1. Automatic prompt every time you enter

Click on Eclipse to make it the first responder, and change to preferences->Java->Editor->Content Assist
and then Auto activation triggers for Java in the lower right corner

.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789This
will automatically prompt every time you enter the above letters

You can also modify the Auto activation delay to modify the prompt delay.

2. Use alt+/ to manually control the automatic prompt (recommended)

Click Eclipse to make it the first responder, find Content Assist in preferences->General->Keys,
first Remove Binding (remove binding), then Binding (press Alt+/)
When select Editing Text, OK
now in When writing code, pressing Alt+/ will automatically prompt.

Third, the association function when writing XML files

Click on Eclipse, make it the first responder, preferences->XML->XML Files->Editor->Content Assist

In the right half of the setting box, you can change the Auto activation delay to set the time for the automatic prompt of the code, and then change the Prompt when these characters are inserted, enter abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789. Then click OK in the lower right corner.

Guess you like

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